Branch: Tag:

2000-08-16

2000-08-16 10:50:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/builtin_functions.c:1.298
Rev: src/docode.c:1.79
Rev: src/encode.c:1.67
Rev: src/gc.c:1.122
Rev: src/las.c:1.191
Rev: src/module_support.c:1.36
Rev: src/peep.c:1.35
Rev: src/pike_memory.h:1.22
Rev: src/pike_types.c:1.135
Rev: src/pike_types.h:1.44
Rev: src/program.c:1.262

25:   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.66 2000/08/15 16:15:43 grubba Exp $"); + RCSID("$Id: encode.c,v 1.67 2000/08/16 10:50:42 grubba Exp $");      /* #define ENCODE_DEBUG */   
1595:      /* Compatibilidy decoder */    - static unsigned char extract_char(char **v, INT32 *l) + static unsigned char extract_char(char **v, ptrdiff_t *l)   {    if(!*l) error("Format error, not enough place for char.\n");    else (*l)--;
1603:    return ((unsigned char *)(*v))[-1];   }    - static ptrdiff_t extract_int(char **v, INT32 *l) + static ptrdiff_t extract_int(char **v, ptrdiff_t *l)   {    INT32 j;    ptrdiff_t i;
1619:    return i;   }    - static void rec_restore_value(char **v, INT32 *l) + static void rec_restore_value(char **v, ptrdiff_t *l)   {    ptrdiff_t t, i;