C warning that I can't seem to track down
bob
ican-rZHaEmXdJNJWk0Htik3J/w at public.gmane.org
Tue Aug 8 13:30:07 UTC 2006
In newer versions of the GCC compiler the block of C code:
int length;
...
if(getsockname(s, (struct sockaddr *)&sin, &length))
gives a warning below
socketUtils.c:259: warning: pointer targets in passing argument 3 of
'getsockname' differ in signedness
I tracked it down to a define called "socklen_t". Damned if I can find
where that is defined.
Any help would be appreciated. Thanks.
bob
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list