From: Eli Zaretskii Date: Sun, 5 Apr 2020 16:51:09 +0000 (+0300) Subject: Fix a recent change in bignum.c X-Git-Tag: emacs-28.0.90~7640 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=507f26d532aaf9db4622c42eec1f89466fb5c724;p=emacs.git Fix a recent change in bignum.c * src/bignum.c (check_int_nonnegative): Fix a recent change. Reported by Glenn Morris . --- diff --git a/src/bignum.c b/src/bignum.c index 859896cdcf7..669df4d9ee3 100644 --- a/src/bignum.c +++ b/src/bignum.c @@ -465,5 +465,5 @@ int check_int_nonnegative (Lisp_Object x) { CHECK_INTEGER (x); - return Fnatnump (x) ? check_integer_range (x, 0, INT_MAX) : 0; + return NILP (Fnatnump (x)) ? 0 : check_integer_range (x, 0, INT_MAX); }