Commit b60861e6 authored by Glenn Morris's avatar Glenn Morris
Browse files

(Ffont_variation_glyphs): Silence compiler.

parent 133ea5b2
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.
......
......@@ -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
......
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