Branch: Tag:

2000-08-15

2000-08-15 16:19:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/array.c:1.83
Rev: src/backend.c:1.54
Rev: src/docode.c:1.78
Rev: src/encode.c:1.66
Rev: src/error.c:1.60
Rev: src/error.h:1.48
Rev: src/errors.h:1.12
Rev: src/fsort.c:1.14
Rev: src/hashtable.c:1.7
Rev: src/main.c:1.96
Rev: src/pike_memory.h:1.21
Rev: src/pike_types.c:1.133
Rev: src/pike_types.h:1.43

5:   \*/   /**/   #include "global.h" - RCSID("$Id: pike_types.c,v 1.132 2000/07/28 17:16:55 hubbe Exp $"); + RCSID("$Id: pike_types.c,v 1.133 2000/08/15 16:00:03 grubba Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"
139:    tFuncV(tNone,tZero,tOr(tMix,tVoid))));   }    - static int type_length(char *t) + static ptrdiff_t type_length(char *t)   {    char *q=t;   one_more_type:
208:   unsigned char *pike_type_mark_stack[PIKE_TYPE_STACK_SIZE/4];       - INT32 pop_stack_mark(void) + ptrdiff_t pop_stack_mark(void)   {    Pike_compiler->pike_type_mark_stackp--;    if(Pike_compiler->pike_type_mark_stackp<pike_type_mark_stack)
319:      void push_finished_type(struct pike_string *type)   { -  int e; +  ptrdiff_t e;    check_type_string(type);    for(e=type->len-1;e>=0;e--) push_type(type->str[e]);   }
751:   }      #ifdef PIKE_DEBUG - void stupid_describe_type(char *a,INT32 len) + void stupid_describe_type(char *a, ptrdiff_t len)   { -  INT32 e; +  ptrdiff_t e;    for(e=0;e<len;e++)    {    if(e) printf(" ");