summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-10-29 03:04:57 (GMT)
committerhobbs <hobbs@noemail.net>1999-10-29 03:04:57 (GMT)
commitd45daf940b56f1445c09c4eeb39fb71e43f4c79c (patch)
tree8e4308a42f168c44468b39367ac602608243b14d /unix/tclUnixChan.c
parentca5b7b89fa94bedcd6681c3c969c3ae19d2fe0da (diff)
downloadtcl-d45daf940b56f1445c09c4eeb39fb71e43f4c79c.zip
tcl-d45daf940b56f1445c09c4eeb39fb71e43f4c79c.tar.gz
tcl-d45daf940b56f1445c09c4eeb39fb71e43f4c79c.tar.bz2
* unix/tclUnixPort.h: added utime.h to includes
* unix/aclocal.m4: made it just include tcl.m4 FossilOrigin-Name: dedc005e01f21e50138ad289f7770e9669d88f6c
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;
}