summaryrefslogtreecommitdiffstats
path: root/generic/tclPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-23 13:45:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-23 13:45:25 (GMT)
commit9c0c7d79d571cf394dc28853bc3c19938c8c8953 (patch)
tree29ee2fa363f19c081405f273c96eda8b6ef26841 /generic/tclPipe.c
parentefce255dd9821b8dacf7c24731015f2eea93a96b (diff)
downloadtcl-9c0c7d79d571cf394dc28853bc3c19938c8c8953.zip
tcl-9c0c7d79d571cf394dc28853bc3c19938c8c8953.tar.gz
tcl-9c0c7d79d571cf394dc28853bc3c19938c8c8953.tar.bz2
More int -> size_t
Diffstat (limited to 'generic/tclPipe.c')
-rw-r--r--generic/tclPipe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclPipe.c b/generic/tclPipe.c
index f8e02ae..1f5e4f1 100644
--- a/generic/tclPipe.c
+++ b/generic/tclPipe.c
@@ -269,16 +269,16 @@ Tcl_ReapDetachedProcs(void)
int
TclCleanupChildren(
Tcl_Interp *interp, /* Used for error messages. */
- int numPids, /* Number of entries in pidPtr array. */
+ size_t numPids, /* Number of entries in pidPtr array. */
Tcl_Pid *pidPtr, /* Array of process ids of children. */
Tcl_Channel errorChan) /* Channel for file containing stderr output
* from pipeline. NULL means there isn't any
* stderr output. */
{
int result = TCL_OK;
- int i, abnormalExit, anyErrorInfo;
+ int code, abnormalExit, anyErrorInfo;
TclProcessWaitStatus waitStatus;
- int code;
+ size_t i;
Tcl_Obj *msg, *error;
abnormalExit = 0;
@@ -1028,7 +1028,7 @@ Tcl_OpenCommandChannel(
{
TclFile *inPipePtr, *outPipePtr, *errFilePtr;
TclFile inPipe, outPipe, errFile;
- int numPids;
+ size_t numPids;
Tcl_Pid *pidPtr;
Tcl_Channel channel;