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)
-------------
char b[MAX_STRING_LEN]
...
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

Reply via email to