Commit 77fa4db2 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(fill_gstring_body): Avoid compiler warnings.

parent f62ab7c5
2008-08-29 Eli Zaretskii <eliz@gnu.org>
 
* composite.c (fill_gstring_body): Avoid compiler warnings.
* font.c (font_fill_lglyph_metrics): Use EMACS_INT in
LGLYPH_SET_CODE to avoid compiler warnings.
* makefile.w32-in ($(BLD)/w32uniscribe.$(O)): Depend on composite.h
 
* composite.h (LGLYPH_SET_CODE): Cast `val' to EMACS_INT.
......
......@@ -865,7 +865,7 @@ fill_gstring_body (gstring)
for (i = 0; i < len; i++)
{
Lisp_Object g = LGSTRING_GLYPH (gstring, i);
int c = XINT (AREF (header, i + 1));
EMACS_INT c = XINT (AREF (header, i + 1));
if (NILP (g))
{
......
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