From: Paul Eggert Date: Sun, 19 Jun 2011 00:11:45 +0000 (-0700) Subject: * lisp.h (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT. X-Git-Tag: emacs-pretest-24.0.90~104^2~473^2~38 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbeff735d291da31ca3c5ae61d2c5698b62b26e8;p=emacs.git * lisp.h (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT. --- 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