diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-15 21:06:32 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-15 21:06:32 (GMT) |
| commit | 089efbf8d6b1dd7a124461fda4d62b5564ed0d1b (patch) | |
| tree | 5fff0cb0af06d0029e7279699d13ab36b2ccbd0d /unix/tclUnixSock.c | |
| parent | bac5a2ba20ec1467a837a0591c471b1c3c18bb28 (diff) | |
| parent | b2940c712c83481f79afe06925d5c0d624de4a48 (diff) | |
| download | tcl-089efbf8d6b1dd7a124461fda4d62b5564ed0d1b.zip tcl-089efbf8d6b1dd7a124461fda4d62b5564ed0d1b.tar.gz tcl-089efbf8d6b1dd7a124461fda4d62b5564ed0d1b.tar.bz2 | |
[Bug 3598300]: unix: tcl.h does not include sys/stat.h
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 31daa62..528f009 100644 --- a/unix/tclUnixSock.c +++ b/unix/tclUnixSock.c @@ -1202,7 +1202,7 @@ Tcl_Channel Tcl_MakeTcpClientChannel( ClientData sock) /* The socket to wrap up into a channel. */ { - return TclpMakeTcpClientChannelMode(sock, (TCL_READABLE | TCL_WRITABLE)); + return (Tcl_Channel) TclpMakeTcpClientChannelMode(sock, (TCL_READABLE | TCL_WRITABLE)); } /* @@ -1222,9 +1222,9 @@ Tcl_MakeTcpClientChannel( *---------------------------------------------------------------------- */ -Tcl_Channel +void * TclpMakeTcpClientChannelMode( - ClientData sock, /* The socket to wrap up into a channel. */ + void *sock, /* The socket to wrap up into a channel. */ int mode) /* ORed combination of TCL_READABLE and * TCL_WRITABLE to indicate file mode. */ { |
