summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 14:16:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-17 14:16:59 (GMT)
commitbf552f0a4d5c314940d025c46551b4e5062c59ac (patch)
tree1a17cb666e33f912cb688b254d6cbb0d5c2fc8df /unix/tclUnixPipe.c
parent36024b4c2dfa88a5b42c42342e1630cb846b59f0 (diff)
downloadtcl-bf552f0a4d5c314940d025c46551b4e5062c59ac.zip
tcl-bf552f0a4d5c314940d025c46551b4e5062c59ac.tar.gz
tcl-bf552f0a4d5c314940d025c46551b4e5062c59ac.tar.bz2
More int -> size_t in internal API
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index 85692c9..e1825c7 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -381,7 +381,7 @@ TclpCreateProcess(
* occurred when creating the child process.
* Error messages from the child process
* itself are sent to errorFile. */
- int argc, /* Number of arguments in following array. */
+ size_t argc, /* Number of arguments in following array. */
const char **argv, /* Array of argument strings in UTF-8.
* argv[0] contains the name of the executable
* translated using Tcl_TranslateFileName
@@ -410,7 +410,8 @@ TclpCreateProcess(
char errSpace[200 + TCL_INTEGER_SPACE];
Tcl_DString *dsArray;
char **newArgv;
- int pid, i;
+ int pid;
+ size_t i;
errPipeIn = NULL;
errPipeOut = NULL;