On Fri, May 24, 2002 at 12:57:24PM +0200, SnaRf 'Eadsmacka wrote:
> warning: passing arg 1 of `strncmp' makes pointer from integer without a cast
> 
> The line it's whining about is:
> if (!ch || (strncmp (CRYPT(argument, GET_PASSWD(ch)), GET_PASSWD (ch), 
> MAX_PWD_LENGTH)))


What the error says is that it expects a pointer, but that you feed
it an integer. Arg 1 of strncmp() is the output of the CRYPT()
macro, which I've never seen before. Show us some more, what does
CRYPT look like?

Edwin

-- 
Edwin Groothuis      |           Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]    |        Interested in MUDs? Visit Fatal Dimensions:
bash$ :(){ :|:&};:   |                    http://www.FatalDimensions.org/

Reply via email to