pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:17:   #include "dynamic_buffer.h"   #include "error.h"   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"    - RCSID("$Id: encode.c,v 1.29 1999/03/07 20:18:26 grubba Exp $"); + RCSID("$Id: encode.c,v 1.30 1999/03/07 20:19:43 grubba Exp $");      #ifdef _AIX   #include <net/nh.h>   #endif      #ifdef HAVE_NETINET_IN_H   #include <netinet/in.h>   #endif      #include <math.h>
pike.git/src/encode.c:176:    case T_MULTISET:    case T_NOT:    goto one_more_type;       case T_INT:    {    int i;    /* FIXME: I assume the type is saved in network byte order. Is it?    * /grubba 1999-03-07    */ -  for(i = 0; i < (int)2*sizeof(INT32); i++) { +  for(i = 0; i < (int)(2*sizeof(INT32)); i++) {    addchar(EXTRACT_UCHAR(t++));    }    }    break;       case '0':    case '1':    case '2':    case '3':    case '4':
pike.git/src/encode.c:630:    case T_MULTISET:    case T_NOT:    goto one_more_type;       case T_INT:    {    int i;    /* FIXME: I assume the type is saved in network byte order. Is it?    * /grubba 1999-03-07    */ -  for(i = 0; i < (int)2*sizeof(INT32); i++) { +  for(i = 0; i < (int)(2*sizeof(INT32)); i++) {    push_type(GETC());    }    }    break;       case '0':    case '1':    case '2':    case '3':    case '4':