summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-10-29 03:04:58 (GMT)
committerhobbs <hobbs>1999-10-29 03:04:58 (GMT)
commit3160b5cc1bc35f5b483515bcb9956834055230af (patch)
tree8e4308a42f168c44468b39367ac602608243b14d /unix/tclUnixChan.c
parent7f43d8ecc232061ad27b2752e0d2e6e2f48a2bdd (diff)
downloadtcl-3160b5cc1bc35f5b483515bcb9956834055230af.zip
tcl-3160b5cc1bc35f5b483515bcb9956834055230af.tar.gz
tcl-3160b5cc1bc35f5b483515bcb9956834055230af.tar.bz2
* unix/tclUnixPort.h: added utime.h to includes
* unix/aclocal.m4: made it just include tcl.m4
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 4da4f1f..aa38d28 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixChan.c,v 1.10 1999/04/16 00:48:04 stanton Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.11 1999/10/29 03:04:58 hobbs Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -1584,7 +1584,7 @@ TcpInputProc(instanceData, buf, bufSize, errorCodePtr)
if (state != 0) {
return -1;
}
- bytesRead = recv(statePtr->fd, buf, bufSize, 0);
+ bytesRead = recv(statePtr->fd, buf, (size_t) bufSize, 0);
if (bytesRead > -1) {
return bytesRead;
}
@@ -1637,7 +1637,7 @@ TcpOutputProc(instanceData, buf, toWrite, errorCodePtr)
if (state != 0) {
return -1;
}
- written = send(statePtr->fd, buf, toWrite, 0);
+ written = send(statePtr->fd, buf, (size_t) toWrite, 0);
if (written > -1) {
return written;
}