From cbeff735d291da31ca3c5ae61d2c5698b62b26e8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 18 Jun 2011 17:11:45 -0700 Subject: [PATCH] * lisp.h (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT. --- src/ChangeLog | 1 + src/lisp.h | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2bf6cc82997..45fe3194744 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -5,6 +5,7 @@ It's confusing to put a bogus integer in a place where the actual value does not matter. (LIST_END_P): Remove unused macro and its bogus comment. + (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT. 2011-06-18 Paul Eggert diff --git a/src/lisp.h b/src/lisp.h index 54c509125f8..99a276c805c 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -3625,9 +3625,7 @@ extern void init_system_name (void); fixnum. */ #define make_fixnum_or_float(val) \ - (FIXNUM_OVERFLOW_P (val) \ - ? make_float (val) \ - : make_number ((EMACS_INT)(val))) + (FIXNUM_OVERFLOW_P (val) ? make_float (val) : make_number (val)) /* Checks the `cycle check' variable CHECK to see if it indicates that -- 2.39.2