aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 9d03eb9774d..454278a5a27 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7055,8 +7055,9 @@ handle_child_signal (int sig)
7055 xpid = XCAR (head); 7055 xpid = XCAR (head);
7056 if (all_pids_are_fixnums ? FIXNUMP (xpid) : INTEGERP (xpid)) 7056 if (all_pids_are_fixnums ? FIXNUMP (xpid) : INTEGERP (xpid))
7057 { 7057 {
7058 pid_t deleted_pid = (FIXNUMP (xpid) ? XFIXNUM (xpid) 7058 intmax_t deleted_pid;
7059 : bignum_to_intmax (xpid)); 7059 bool ok = integer_to_intmax (xpid, &deleted_pid);
7060 eassert (ok);
7060 if (child_status_changed (deleted_pid, 0, 0)) 7061 if (child_status_changed (deleted_pid, 0, 0))
7061 { 7062 {
7062 if (STRINGP (XCDR (head))) 7063 if (STRINGP (XCDR (head)))