summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-04 08:36:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-04 08:36:18 (GMT)
commit5cc8272056a2950e552b579f4717b123a9578bdc (patch)
tree2e90215cbb2831726d370df96220fde56b84545c /win
parentc784b1f0894524685e6439e53ae4c96c1064f805 (diff)
parent4b80a508c87df4ea40e979f3c5fcef1de2c4afcf (diff)
downloadtcl-5cc8272056a2950e552b579f4717b123a9578bdc.zip
tcl-5cc8272056a2950e552b579f4717b123a9578bdc.tar.gz
tcl-5cc8272056a2950e552b579f4717b123a9578bdc.tar.bz2
[Bug 510001]: TclSockMinimumBuffers needs plat imp
Diffstat (limited to 'win')
-rw-r--r--win/tclWinSock.c6
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