summaryrefslogtreecommitdiffstats
path: root/generic/tclProcess.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2019-04-12 19:44:34 (GMT)
committerdgp <dgp@users.sourceforge.net>2019-04-12 19:44:34 (GMT)
commit6ae823b6b7894f244a874659bfd93fb4914c6a3a (patch)
treebb59dd0853a15bd8f1fbdb66bb75064f30fd94e0 /generic/tclProcess.c
parent325bbf57920315a1457d500d5fec8867c0e0744b (diff)
parent71ae5810dc6d2d626841ee68af71d69df5fd7bd3 (diff)
downloadtcl-6ae823b6b7894f244a874659bfd93fb4914c6a3a.zip
tcl-6ae823b6b7894f244a874659bfd93fb4914c6a3a.tar.gz
tcl-6ae823b6b7894f244a874659bfd93fb4914c6a3a.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclProcess.c')
-rw-r--r--generic/tclProcess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclProcess.c b/generic/tclProcess.c
index a781386..2f3f4ba 100644
--- a/generic/tclProcess.c
+++ b/generic/tclProcess.c
@@ -540,7 +540,7 @@ ProcessStatusObjCmd(
dict = Tcl_NewDictObj();
Tcl_MutexLock(&infoTablesMutex);
for (i = 0; i < numPids; i++) {
- result = Tcl_GetIntFromObj(interp, pidObjs[i], (int *) &pid);
+ result = Tcl_GetIntFromObj(interp, pidObjs[i], &pid);
if (result != TCL_OK) {
Tcl_MutexUnlock(&infoTablesMutex);
Tcl_DecrRefCount(dict);
@@ -654,7 +654,7 @@ ProcessPurgeObjCmd(
}
Tcl_MutexLock(&infoTablesMutex);
for (i = 0; i < numPids; i++) {
- result = Tcl_GetIntFromObj(interp, pidObjs[i], (int *) &pid);
+ result = Tcl_GetIntFromObj(interp, pidObjs[i], &pid);
if (result != TCL_OK) {
Tcl_MutexUnlock(&infoTablesMutex);
return result;