Branch: Tag:

1997-04-16

1997-04-16 03:14:06 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

tons of warnings fixed

Rev: src/array.c:1.8
Rev: src/builtin_functions.c:1.35
Rev: src/callback.c:1.8
Rev: src/configure.in:1.84
Rev: src/constants.c:1.10
Rev: src/encode.c:1.9
Rev: src/fd_control.c:1.6
Rev: src/gc.c:1.8
Rev: src/interpret.c:1.42
Rev: src/las.c:1.31
Rev: src/lex.c:1.21
Rev: src/main.c:1.21
Rev: src/mapping.c:1.17
Rev: src/memory.h:1.3
Rev: src/module_support.c:1.7
Rev: src/modules/Gmp/mpz_glue.c:1.11
Rev: src/modules/Image/font.c:1.7
Rev: src/modules/Pipe/pipe.c:1.6
Rev: src/modules/Regexp/glue.c:1.5
Rev: src/modules/Yp/yp.c:1.6
Rev: src/modules/_Crypto/Makefile.in:1.9
Rev: src/modules/_Crypto/lib/Makefile.in:1.5
Rev: src/modules/dynamic_module_makefile.in:1.7
Rev: src/modules/files/efuns.c:1.22
Rev: src/modules/files/file.c:1.36
Rev: src/modules/math/math.c:1.4
Rev: src/modules/spider/accesseddb.c:1.7
Rev: src/modules/spider/discdate.c:1.4
Rev: src/modules/spider/dumudp.c:1.8
Rev: src/modules/spider/spider.c:1.29
Rev: src/modules/spider/streamed_parser.c:1.5
Rev: src/modules/sprintf/sprintf.c:1.10
Rev: src/modules/static_module_makefile.in:1.5
Rev: src/modules/system/passwords.c:1.2
Rev: src/modules/system/syslog.c:1.3
Rev: src/modules/system/system.c:1.16
Rev: src/object.c:1.17
Rev: src/opcodes.c:1.6
Rev: src/operators.c:1.13
Rev: src/peep.c:1.10
Rev: src/pike_types.c:1.21
Rev: src/port.c:1.11
Rev: src/port.h:1.16
Rev: src/program.c:1.33
Rev: src/signal_handler.c:1.11
Rev: src/stralloc.c:1.14
Rev: src/stuff.c:1.2
Rev: src/svalue.c:1.9
Rev: src/threads.c:1.21

30:    7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,    };    register unsigned int tmp; -  if(tmp=(x>>16)) +  if((tmp=(x>>16)))    { -  if(x=(tmp>>8)) return bit[x]+24; +  if((x=(tmp>>8))) return bit[x]+24;    return bit[tmp]+16;    } -  if(tmp=(x>>8)) return bit[tmp]+8; +  if((tmp=(x>>8))) return bit[tmp]+8;    return bit[x];   }   
64:   /* Return true for integers with more than one bit set */   int is_more_than_one_bit(unsigned INT32 x)   { -  return ((x & 0xaaaaaaaa) && (x & 0x55555555)) || -  ((x & 0xcccccccc) && (x & 0x33333333)) || -  ((x & 0xf0f0f0f0) && (x & 0x0f0f0f0f)) || -  ((x & 0xff00ff00) && (x & 0x00ff00ff)) || -  ((x & 0xff00ff00) && (x & 0x00ff00ff)) || -  ((x & 0xffff0000) && (x & 0x0000ffff)); +  return ((x & 0xaaaaaaaaUL) && (x & 0x55555555UL)) || +  ((x & 0xccccccccUL) && (x & 0x33333333UL)) || +  ((x & 0xf0f0f0f0UL) && (x & 0x0f0f0f0fUL)) || +  ((x & 0xff00ff00UL) && (x & 0x00ff00ffUL)) || +  ((x & 0xff00ff00UL) && (x & 0x00ff00ffUL)) || +  ((x & 0xffff0000UL) && (x & 0x0000ffffUL));   }