diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-29 12:13:42 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-29 12:13:42 (GMT) |
commit | 94b2d910590d8a54c26a7704ef078ff349eac948 (patch) | |
tree | f2303d5b71bad413b0e5107a6f50f4ca6af040c2 /win/tclWinSock.c | |
parent | b38ff7bf98f44f9eaa8dd4715cf3dca8decbe24d (diff) | |
download | tcl-94b2d910590d8a54c26a7704ef078ff349eac948.zip tcl-94b2d910590d8a54c26a7704ef078ff349eac948.tar.gz tcl-94b2d910590d8a54c26a7704ef078ff349eac948.tar.bz2 |
better solution for bug-510001
it fills a correctly working stub entry for Win64
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index f3fe979..a03116a 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(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((SOCKET) sock, TCP_BUFFER_SIZE); infoPtr = NewSocketInfo((SOCKET) sock); |