[Sslproxy-users] warning compiling sslproxy on OS X 10.4.7
Brought to you by:
szilu
From: <jo...@st...> - 2006-08-15 20:31:25
|
I've just downloaded sslproxy, and I was impressed with how clean and easy the build process was. However, it did generate one error on my OS X 10.4.7 machine: gcc -c -Wall -g3 ssl_proxy.c -o ssl_proxy.o ssl_proxy.c: In function 'client_init': ssl_proxy.c:207: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' This probably isn't terribly important, but I think it could generate incorrect output. I found the error could be corrected by changing that line of ssl_proxy.c from: fprintf(stderr, "client_init(): client address too long (allowed: %d)\ ", to: fprintf(stderr, "client_init(): client address too long (allowed: %ld)\ ", With that change, sslproxy compiles with no warnings at all. Best, - Joe -- Joe Strout -- jo...@st... Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ |