Branch: Tag:

1996-08-05

1996-08-05 22:07:56 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix!

Rev: src/memory.c:1.3

386:    }else{    INT32 tmp, h;    unsigned INT32 hsize, e, max; -  char *q; +  unsigned char *q;    struct link *ptr;       hsize=52+(max_haystacklen >> 7) - (needlelen >> 8);
409:       ptr=& s->links[0];    -  q=needle; +  q=(unsigned char *)needle;      #if BYTEORDER == 4321    for(tmp=e=0;e<sizeof(INT32)-1;e++)
425: Inside #if BYTEORDER == 4321
   tmp<<=8;    tmp|=*(q++);   #else -  tmp=EXTRACT_INT((unsigned char *)q); +  tmp=EXTRACT_INT(q);    q++;   #endif    h=tmp;