diff options
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emacs.c b/src/emacs.c index aef4f93d02b..dc62ce80667 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2065,9 +2065,9 @@ all of which are called before Emacs is actually killed. */ } if (FIXNUMP (arg)) - exit_code = (XINT (arg) < 0 - ? XINT (arg) | INT_MIN - : XINT (arg) & INT_MAX); + exit_code = (XFIXNUM (arg) < 0 + ? XFIXNUM (arg) | INT_MIN + : XFIXNUM (arg) & INT_MAX); else exit_code = EXIT_SUCCESS; exit (exit_code); |