From: SourceForge.net <no...@so...> - 2003-10-22 05:00:03
|
Bugs item #771944, was opened at 2003-07-15 16:05 Message generated for change (Comment added) made by andreas_kupries You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=771944&group_id=10894 Category: 27. Channel Types Group: = 8.4.3 Status: Open Resolution: None Priority: 8 Submitted By: Don Porter (dgp) Assigned to: Andreas Kupries (andreas_kupries) Summary: tclIOSock.c: compiler warning: Initial Comment: SGI compiler warns: "./../generic/tclIOSock.c", line 97: warning(1164): argument of type "unsigned int *" is incompatible with parameter of type "int *" getsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)¤t, &len); ^ "./../generic/tclIOSock.c", line 103: warning(1164): argument of type "unsigned int *" is incompatible with parameter of type "int *" getsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char *)¤t, &len); ^ ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2003-10-21 17:01 Message: Logged In: YES user_id=75003 Don, do you have a patch ? I guess the (char*) casts should be (VOID*) instead. Linux signature is int getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen); No idea about the SGI signature. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2003-07-15 16:11 Message: Logged In: YES user_id=80530 similar warnings for unix/tclUnixChan.c ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=771944&group_id=10894 |