diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-20 20:07:43 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-20 20:07:43 (GMT) |
| commit | e043c623f79de150a3f1230d95d4d66d6d9da62c (patch) | |
| tree | 4412d9a45167b471a9b3efb92230e9d46d6321f8 /unix/tclUnixPipe.c | |
| parent | eec237466690316958a6a7686e5ba5030992a358 (diff) | |
| download | tcl-e043c623f79de150a3f1230d95d4d66d6d9da62c.zip tcl-e043c623f79de150a3f1230d95d4d66d6d9da62c.tar.gz tcl-e043c623f79de150a3f1230d95d4d66d6d9da62c.tar.bz2 | |
Fix TclpGetPid() signature (should use Tcl_Size, not size_t)
Diffstat (limited to 'unix/tclUnixPipe.c')
| -rw-r--r-- | unix/tclUnixPipe.c | 4 |
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); } } } |
