Brian May <[EMAIL PROTECTED]> wrote:
>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??????

You have said '#include <string.h>', haven't you? (Without a prototype,
a return type of int is assumed.)

-- 
Colin Watson                                     [EMAIL PROTECTED]

Reply via email to