Branch: Tag:

2000-10-14

2000-10-14 17:26:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: src/pike_search_engine.c:1.4

33:    INTERCASE(NAME,2); \    } \    fatal("Illegal shift\n"); \ -  return NULL; /* NOT_REACHED */ \ +  return haystack; /* NOT_REACHED */ \   } \    \   static struct SearchMojtVtable PxC3(NAME,NSHIFT,_vtable) = { \
112:    q=(NCHAR *)needle;      #if PIKE_BYTEORDER == 4321 && NSHIFT == 0 -  for(tmp=e=0;e<sizeof(INT32)-1;e++) +  for(tmp = e = 0; e < (ptrdiff_t)sizeof(INT32)-1; e++)    {    tmp<<=8;    tmp|=*(q++);