Compilation problem on LinuxPPC
Brought to you by:
mattpratt
Hi there,
I'm trying to use dproxy 0.5 on a LinuxPPC system,
and I get this warning when I compile:
dproxy.c: In function `get_options':
dproxy.c:576: warning: comparison is always true
due to limited range of data type
It makes a zero length dproxy.conf file, and
whenever I try to run the resulting binary, it just
displays the usage message. I also tried copying a
dproxy.conf file that dproxy's make created on a
Linux Mandrake (80x86) machine, and same
problem.
It's complaining about this comparison:
while( (c = getopt( argc, argv, "c:dhP")) != EOF ) {
however, I'm not sure what other comparison
would alleviate this problem.
Thanx much for any help,
Martin