summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 12:03:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 12:03:25 (GMT)
commit63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350 (patch)
tree380c8174739958989e5022ea5c613c74b7747df6 /win/tclWinSock.c
parent6203c60601717753524d662bbc900adfa3e86ddf (diff)
parent96af7fcd51a853aac2eb09b6de444a9789e04638 (diff)
downloadtcl-63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350.zip
tcl-63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350.tar.gz
tcl-63d6ebbdc5448ceb5e98cb1ca0b7fadb1ebe9350.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index a365b49..1bf4f97 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -1326,7 +1326,7 @@ Tcl_MakeTcpClientChannel(
* Set kernel space buffering and non-blocking.
*/
- TclSockMinimumBuffers((int) sock, TCP_BUFFER_SIZE);
+ TclSockMinimumBuffers(PTR2INT(sock), TCP_BUFFER_SIZE);
infoPtr = NewSocketInfo((SOCKET) sock);