diff --git a/src/cache/ftcglyph.c b/src/cache/ftcglyph.c index a4b515ba3..b378132ee 100644 --- a/src/cache/ftcglyph.c +++ b/src/cache/ftcglyph.c @@ -249,7 +249,7 @@ if ( !node ) break; - if ( node->glyph_index == glyph_index ) + if ( (FT_UInt)node->glyph_index == glyph_index ) { /* we found it! -- move glyph to start of the lists */ *pnode = node->gset_next; diff --git a/src/type1/t1load.c b/src/type1/t1load.c index 06381bc00..6e5a47a2c 100644 --- a/src/type1/t1load.c +++ b/src/type1/t1load.c @@ -293,7 +293,7 @@ FT_Fixed* blends = map->blend_points; FT_Int before = -1, after = -1; - for ( p = 0; p < map->num_points; p++ ) + for ( p = 0; p < (FT_UInt)map->num_points; p++ ) { FT_Fixed p_design = designs[p];