diff options
Diffstat (limited to 'unix/tclUnixSock.c')
| -rw-r--r-- | unix/tclUnixSock.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c index c3b2d35..6af51d1 100644 --- a/unix/tclUnixSock.c +++ b/unix/tclUnixSock.c @@ -8,7 +8,7 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixSock.c,v 1.26.2.3 2010/10/28 19:42:20 kennykb Exp $ + * RCS: @(#) $Id: tclUnixSock.c,v 1.26.2.4 2010/12/11 18:39:31 kennykb Exp $   */  #include "tclInt.h" @@ -923,7 +923,7 @@ CreateClientSocket(  	     * Set kernel space buffering  	     */ -	    TclSockMinimumBuffers(sock, SOCKET_BUFSIZE); +	    TclSockMinimumBuffers(INT2PTR(sock), SOCKET_BUFSIZE);  	    if (async) {  		status = TclUnixSetBlockingMode(sock, TCL_MODE_NONBLOCKING); @@ -1185,7 +1185,7 @@ Tcl_OpenTcpServer(  	 * Set kernel space buffering  	 */ -	TclSockMinimumBuffers(sock, SOCKET_BUFSIZE); +	TclSockMinimumBuffers(INT2PTR(sock), SOCKET_BUFSIZE);  	/*  	 * Set up to reuse server addresses automatically and bind to the  | 
