diff options
author | Paul Eggert <[email protected]> | 2011-06-18 17:11:45 -0700 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2011-06-18 17:11:45 -0700 |
commit | cbeff735d291da31ca3c5ae61d2c5698b62b26e8 (patch) | |
tree | 6d9ff402aa33971f23e83e6b9fe4b3b5cde44906 | |
parent | 9f62aeb1857ab012244be221b1e6e13451fb394d (diff) |
* lisp.h (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT.
-rw-r--r-- | src/ChangeLog | 1 | ||||
-rw-r--r-- | src/lisp.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2bf6cc8299..45fe319474 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 <[email protected]> diff --git a/src/lisp.h b/src/lisp.h index 54c509125f..99a276c805 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 |