1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

(fill_gstring_body): Avoid compiler warnings.

This commit is contained in:
Eli Zaretskii 2008-08-29 09:55:32 +00:00
parent f62ab7c582
commit 77fa4db298
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
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.

View File

@ -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))
{