pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:16:   #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.23 1998/05/16 08:23:44 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.24 1998/10/11 18:17:26 marcus 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:116:    num-=(256 << (t<<3));    else    break;    }       type|=t << SIZE_SHIFT;    addchar(type);       switch(t)    { -  case 3: addchar(num >> 24); -  case 2: addchar(num >> 16); -  case 1: addchar(num >> 8); -  case 0: addchar(num); +  case 3: addchar((num >> 24)&0xff); +  case 2: addchar((num >> 16)&0xff); +  case 1: addchar((num >> 8)&0xff); +  case 0: addchar(num&0xff);    }   }         static void code_number(INT32 num, struct encode_data *data)   {    code_entry(num & 15, num >> 4, data);   }      #ifdef _REENTRANT