aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-06-18 17:11:45 -0700
committerPaul Eggert2011-06-18 17:11:45 -0700
commitcbeff735d291da31ca3c5ae61d2c5698b62b26e8 (patch)
tree6d9ff402aa33971f23e83e6b9fe4b3b5cde44906 /src
parent9f62aeb1857ab012244be221b1e6e13451fb394d (diff)
downloademacs-cbeff735d291da31ca3c5ae61d2c5698b62b26e8.tar.gz
emacs-cbeff735d291da31ca3c5ae61d2c5698b62b26e8.zip
* lisp.h (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/lisp.h4
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 @@
5 It's confusing to put a bogus integer in a place where the actual 5 It's confusing to put a bogus integer in a place where the actual
6 value does not matter. 6 value does not matter.
7 (LIST_END_P): Remove unused macro and its bogus comment. 7 (LIST_END_P): Remove unused macro and its bogus comment.
8 (make_fixnum_or_float): Remove unnecessary cast to EMACS_INT.
8 9
92011-06-18 Paul Eggert <eggert@cs.ucla.edu> 102011-06-18 Paul Eggert <eggert@cs.ucla.edu>
10 11
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);
3625 fixnum. */ 3625 fixnum. */
3626 3626
3627#define make_fixnum_or_float(val) \ 3627#define make_fixnum_or_float(val) \
3628 (FIXNUM_OVERFLOW_P (val) \ 3628 (FIXNUM_OVERFLOW_P (val) ? make_float (val) : make_number (val))
3629 ? make_float (val) \
3630 : make_number ((EMACS_INT)(val)))
3631 3629
3632 3630
3633/* Checks the `cycle check' variable CHECK to see if it indicates that 3631/* Checks the `cycle check' variable CHECK to see if it indicates that