diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-04 08:36:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-04 08:36:18 (GMT) |
commit | 5cc8272056a2950e552b579f4717b123a9578bdc (patch) | |
tree | 2e90215cbb2831726d370df96220fde56b84545c /win/tclWinSock.c | |
parent | c784b1f0894524685e6439e53ae4c96c1064f805 (diff) | |
parent | 4b80a508c87df4ea40e979f3c5fcef1de2c4afcf (diff) | |
download | tcl-5cc8272056a2950e552b579f4717b123a9578bdc.zip tcl-5cc8272056a2950e552b579f4717b123a9578bdc.tar.gz tcl-5cc8272056a2950e552b579f4717b123a9578bdc.tar.bz2 |
[Bug 510001]: TclSockMinimumBuffers needs plat imp
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index f3fe979..06d0590 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -1156,7 +1156,7 @@ CreateSocket(interp, port, host, server, myaddr, myport, async) * Set kernel space buffering */ - TclSockMinimumBuffers((int) sock, TCP_BUFFER_SIZE); + TclSockMinimumBuffers((void *)sock, TCP_BUFFER_SIZE); if (server) { /* @@ -1517,7 +1517,7 @@ Tcl_MakeTcpClientChannel(sock) * Set kernel space buffering and non-blocking. */ - TclSockMinimumBuffers((int) sock, TCP_BUFFER_SIZE); + TclSockMinimumBuffers(sock, TCP_BUFFER_SIZE); infoPtr = NewSocketInfo((SOCKET) sock); @@ -2645,7 +2645,7 @@ Tcl_GetHostName() int TclWinGetSockOpt(SOCKET s, int level, int optname, char * optval, - int FAR *optlen) + int *optlen) { /* * Check that WinSock is initialized; do not call it if not, to |