Commit 19ac2034 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(LGLYPH_SET_CODE): Cast `val' to EMACS_INT.

parent 091a66d2
......@@ -277,7 +277,7 @@ enum lglyph_indices
do { \
if (val == FONT_INVALID_CODE) \
ASET ((g), LGLYPH_IX_CODE, Qnil); \
else if (val > MOST_POSITIVE_FIXNUM) \
else if ((EMACS_INT)val > MOST_POSITIVE_FIXNUM) \
ASET ((g), LGLYPH_IX_CODE, Fcons (make_number ((val) >> 16), \
make_number ((val) & 0xFFFF))); \
else \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment