diff options
| author | Kevin B Kenny <kennykb@acm.org> | 2010-12-11 18:39:27 (GMT) | 
|---|---|---|
| committer | Kevin B Kenny <kennykb@acm.org> | 2010-12-11 18:39:27 (GMT) | 
| commit | fbefb585cb3784a6afcfa775c2c0554e4036f907 (patch) | |
| tree | fe86a2d97e77053d9c344bfd81ded64a9bdc7f9f /unix/tclUnixSock.c | |
| parent | 921c2612861d68b7b4eee66736379431ac081f30 (diff) | |
| download | tcl-fbefb585cb3784a6afcfa775c2c0554e4036f907.zip tcl-fbefb585cb3784a6afcfa775c2c0554e4036f907.tar.gz tcl-fbefb585cb3784a6afcfa775c2c0554e4036f907.tar.bz2  | |
merge
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  | 
