Menu

#6 difference in signedness

open
nobody
None
5
2006-10-09
2006-10-09
Anonymous
No

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)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.