summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-29 12:13:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-29 12:13:42 (GMT)
commit4b80a508c87df4ea40e979f3c5fcef1de2c4afcf (patch)
treef2303d5b71bad413b0e5107a6f50f4ca6af040c2 /win
parent9dc4d62155a906e3cb7a4d11c2332774d2071d83 (diff)
downloadtcl-4b80a508c87df4ea40e979f3c5fcef1de2c4afcf.zip
tcl-4b80a508c87df4ea40e979f3c5fcef1de2c4afcf.tar.gz
tcl-4b80a508c87df4ea40e979f3c5fcef1de2c4afcf.tar.bz2
better solution for bug-510001bug_510001
it fills a correctly working stub entry for Win64
Diffstat (limited to 'win')
-rw-r--r--win/tclWinSock.c4
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);