mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
(make_fixnum_or_float): Coerce double to int explicitly.
This commit is contained in:
parent
e1010ebe16
commit
5fbf2e842d
@ -3153,4 +3153,4 @@ extern Lisp_Object Vdirectory_sep_char;
|
||||
fixnum. */
|
||||
|
||||
#define make_fixnum_or_float(val) \
|
||||
(FIXNUM_OVERFLOW_P (val) ? make_float (val) : make_number (val))
|
||||
(FIXNUM_OVERFLOW_P (val) ? make_float (val) : make_number ((int)(val)))
|
||||
|
Loading…
Reference in New Issue
Block a user