Branch: Tag:

2000-08-17

2000-08-17 19:22:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/builtin_functions.c:1.299
Rev: src/modules/HTTPLoop/cache.c:1.14
Rev: src/modules/HTTPLoop/cache.h:1.7
Rev: src/modules/HTTPLoop/requestobject.c:1.14
Rev: src/modules/Image/encodings/bmp.c:1.28
Rev: src/peep.c:1.36
Rev: src/program.c:1.264

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.263 2000/08/17 19:08:11 grubba Exp $"); + RCSID("$Id: program.c,v 1.264 2000/08/17 19:11:34 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1397: Inside #if defined(PIKE_DEBUG)
     #ifdef PIKE_DEBUG    if(alignment <=0 || (alignment & (alignment-1)) || alignment > 256) -  fatal("Alignment must be 1,2,4,8,16,32,64,128 or 256 not %d\n",alignment); +  fatal("Alignment must be 1,2,4,8,16,32,64,128 or 256 not %ld\n", +  PTRDIFF_T_TO_LONG(alignment));   #endif    modulo=( modulo_orig /* +OFFSETOF(object,storage) */ ) % alignment;