apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Klinger <cklin...@novareto.de>
Subject Compile Error on 64Bit Machine
Date Thu, 29 Jun 2006 08:48:18 GMT
Hello Apache Developers,

First i´m a poor c programmer.

i´ve a problem with an apache module on an 64 Bit Linux Machine. If i 
compile it on a 32 Bit System i got no errors. I hope this is the right 
place to ask for help.

I hope someone has a tip for me.

thx christian

here is a example of my code:
(uu is base64 encoded username:passwort)
apr_snprintf(b, MAX_STRING_LEN, 'BASIC %s', uu);

if i compile this i got these errors:

mod_auth_tkt.c:1308:35: warning: character constant too long for its type
mod_auth_tkt.c: In function ‘auth_tkt_check’:
mod_auth_tkt.c:1308: warning: passing argument 3 of ‘apr_snprintf’ makes 
pointer from integer without a cast

View raw message