summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-20 20:07:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-20 20:07:43 (GMT)
commit7f501d47e49a907edfed23308a3ee312b1f197ae (patch)
tree4412d9a45167b471a9b3efb92230e9d46d6321f8 /unix/tclUnixPipe.c
parentba0c330c3128eee0fe98345697130ebfdc20cd9b (diff)
downloadtcl-7f501d47e49a907edfed23308a3ee312b1f197ae.zip
tcl-7f501d47e49a907edfed23308a3ee312b1f197ae.tar.gz
tcl-7f501d47e49a907edfed23308a3ee312b1f197ae.tar.bz2
Fix TclpGetPid() signature (should use Tcl_Size, not size_t)
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index 08f60b2..a889f1d 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -638,7 +638,7 @@ TclpCreateProcess(
}
TclpCloseFile(errPipeIn);
- *pidPtr = (Tcl_Pid) INT2PTR(pid);
+ *pidPtr = (Tcl_Pid)INT2PTR(pid);
return TCL_OK;
error:
@@ -1342,7 +1342,7 @@ Tcl_WaitPid(
while (1) {
result = (int) waitpid(real_pid, statPtr, options);
if ((result != -1) || (errno != EINTR)) {
- return (Tcl_Pid) INT2PTR(result);
+ return (Tcl_Pid)INT2PTR(result);
}
}
}