On Thu, Nov 09, 2000 at 12:54:40PM +1100, Brian May wrote: > >From the info page: > > Function: char * strstr (const char *HAYSTACK, const char *NEEDLE) > > > >From /usr/include/string.h: > > extern char *strstr __P ((__const char *__haystack, __const char *__needle)); > > > While compiling: > > char *a = strstr("hello", "ccache="); > > > Warning: > > pam_krb5_auth.c:287: warning: initialization makes pointer from integer > without a cast > > > So, why is an integer expected??????
#include <string.h> If you haven't figgered it out yet. Cheers, Chris -- The surest sign that intelligent life exists elsewhere in the universe is that it hasn't tried to contact us. -- Bill Watterson