>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?????? -- Brian May <bam@debian.org>