summaryrefslogtreecommitdiff
path: root/src/ftfont.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-18 09:19:18 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-18 09:19:18 -0700
commitb02c740e9d1d9669b34cac8ff093005404da41ef (patch)
treef31e7002dd2a2bc4fc88af9d7d63c7ca55a91f80 /src/ftfont.c
parentebc96716caba6515eb7bd74cca252e1a36d6c99b (diff)
downloademacs-b02c740e9d1d9669b34cac8ff093005404da41ef.tar.gz
* ftfont.c (ftfont_shape_by_flt): Use signed integers for lengths.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r--src/ftfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index 5037d54bc2f..d1effaa88a9 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -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;