summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-13 12:01:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-13 12:01:47 (GMT)
commitbf1528403276733a85426e74357783d937c7faed (patch)
tree32cd7251725b2d7b287c2657cc2077da1e86ebe3 /unix/tclUnixPipe.c
parentdd9fc01a38ab12c48224f9e335f0415b9594a1b8 (diff)
downloadtcl-bf1528403276733a85426e74357783d937c7faed.zip
tcl-bf1528403276733a85426e74357783d937c7faed.tar.gz
tcl-bf1528403276733a85426e74357783d937c7faed.tar.bz2
Some int argc -> size_t argc
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index 27e8182..16e56b2 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. */
- size_t argc1, /* 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,8 +410,8 @@ TclpCreateProcess(
char errSpace[200 + TCL_INTEGER_SPACE];
Tcl_DString *dsArray;
char **newArgv;
- int pid, i;
- int argc = argc1;
+ int pid;
+ size_t i;
errPipeIn = NULL;
errPipeOut = NULL;