summaryrefslogtreecommitdiff
path: root/pango/pangofc-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r--pango/pangofc-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c
index ec3d3dcb..3ee9a6c4 100644
--- a/pango/pangofc-font.c
+++ b/pango/pangofc-font.c
@@ -512,7 +512,7 @@ pango_fc_font_real_get_glyph (PangoFcFont *font,
face = PANGO_FC_FONT_LOCK_FACE (font);
index = FcFreeTypeCharIndex (face, wc);
- if (index > face->num_glyphs)
+ if (index > (FT_UInt)face->num_glyphs)
index = 0;
PANGO_FC_FONT_UNLOCK_FACE (font);