summaryrefslogtreecommitdiffstats
path: root/unix
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 /unix
parentefce255dd9821b8dacf7c24731015f2eea93a96b (diff)
downloadtcl-9c0c7d79d571cf394dc28853bc3c19938c8c8953.zip
tcl-9c0c7d79d571cf394dc28853bc3c19938c8c8953.tar.gz
tcl-9c0c7d79d571cf394dc28853bc3c19938c8c8953.tar.bz2
More int -> size_t
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixPipe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index 35cde8e..bb0943a 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -35,7 +35,7 @@ typedef struct {
TclFile inFile; /* Output from pipe. */
TclFile outFile; /* Input to pipe. */
TclFile errorFile; /* Error output from pipe. */
- int numPids; /* How many processes are attached to this
+ size_t numPids; /* How many processes are attached to this
* pipe? */
Tcl_Pid *pidPtr; /* The process IDs themselves. Allocated by
* the creator of the pipe. */
@@ -737,7 +737,7 @@ TclpCreateCommandChannel(
TclFile writeFile, /* If non-null, gives the file for writing. */
TclFile errorFile, /* If non-null, gives the file where errors
* can be read. */
- int numPids, /* The number of pids in the pid array. */
+ size_t numPids, /* The number of pids in the pid array. */
Tcl_Pid *pidPtr) /* An array of process identifiers. Allocated
* by the caller, freed when the channel is
* closed or the processes are detached (in a
@@ -859,7 +859,7 @@ TclGetAndDetachPids(
PipeState *pipePtr;
const Tcl_ChannelType *chanTypePtr;
Tcl_Obj *pidsObj;
- int i;
+ size_t i;
/*
* Punt if the channel is not a command channel.
@@ -1258,7 +1258,7 @@ Tcl_PidObjCmd(
{
Tcl_Channel chan;
PipeState *pipePtr;
- int i;
+ size_t i;
Tcl_Obj *resultPtr;
if (objc > 2) {