difference in signedness
Brought to you by:
craigrowland
This was compiled on SUSE 10.0
SYSTYPE=linux
Making
gcc -O -Wall -DLINUX -DSUPPORT_STEALTH -
o ./portsentry ./portsentry.c \
./portsentry_io.c ./portsentry_util.c
Bug:
./portsentry.c: In function âPortSentryModeTCPâ:
./portsentry.c:1186: warning: pointer targets in
passing argument 3 of âacceptâ differ in signedness
Line:
accept (openSockfd[count], (struct sockaddr *)
&client, &length);
Bug:
./portsentry.c: In function âPortSentryModeUDPâ:
./portsentry.c:1382: warning: pointer targets in
passing argument 6 of ârecvfromâ differ in signedness
Line:
if (recvfrom (openSockfd[count], buffer, 1, 0, (struct
sockaddr *) &client, &length) < 0)