Commit b02c740e authored by Paul Eggert's avatar Paul Eggert

* ftfont.c (ftfont_shape_by_flt): Use signed integers for lengths.

parent ebc96716
2011-06-18 Paul Eggert <eggert@cs.ucla.edu>
* ftfont.c (ftfont_shape_by_flt): Use signed integers for lengths.
* font.c (Ffont_shape_gstring): Don't assume glyph len fits in 'int'.
* fns.c (Ffillarray): Don't assume bool vector size fits in 'int'.
......
......@@ -2385,8 +2385,8 @@ static Lisp_Object
ftfont_shape_by_flt (Lisp_Object lgstring, struct font *font,
FT_Face ft_face, OTF *otf, FT_Matrix *matrix)
{
EMACS_UINT len = LGSTRING_GLYPH_LEN (lgstring);
EMACS_UINT i;
EMACS_INT len = LGSTRING_GLYPH_LEN (lgstring);
EMACS_INT i;
struct MFLTFontFT flt_font_ft;
MFLT *flt = NULL;
int with_variation_selector = 0;
......
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