1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 04:53:12 -08:00

(Ffont_variation_glyphs): Silence compiler.

This commit is contained in:
Glenn Morris 2009-01-16 03:26:29 +00:00
parent 133ea5b2b2
commit b60861e61f
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2009-01-16 Glenn Morris <rgm@gnu.org>
* font.c (Ffont_variation_glyphs): Silence compiler.
2009-01-15 Juanma Barranquero <lekktu@gmail.com>
* sound.c (SOUND_WARNING): Use _snprintf, for MSVC compatibility.

View file

@ -4451,8 +4451,10 @@ where
{
Lisp_Object code;
int vs = (i < 16 ? 0xFE00 + i : 0xE0100 + (i - 16));
/* Stops GCC whining about limited range of data type. */
EMACS_INT var = variations[i];
if (variations[i] > MOST_POSITIVE_FIXNUM)
if (var > MOST_POSITIVE_FIXNUM)
code = Fcons (make_number ((variations[i]) >> 16),
make_number ((variations[i]) & 0xFFFF));
else