diff options
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 5 |
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) xpid = XCAR (head); if (all_pids_are_fixnums ? FIXNUMP (xpid) : INTEGERP (xpid)) { - pid_t deleted_pid = (FIXNUMP (xpid) ? XFIXNUM (xpid) - : bignum_to_intmax (xpid)); + intmax_t deleted_pid; + bool ok = integer_to_intmax (xpid, &deleted_pid); + eassert (ok); if (child_status_changed (deleted_pid, 0, 0)) { if (STRINGP (XCDR (head))) |