From 7a31c1f1da3760a2f41aadf9714b18468ae8e210 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 1 Dec 2000 21:43:05 +0000 Subject: [PATCH] fixed a few warnings with Borland C++ --- src/cache/ftcglyph.c | 2 +- src/type1/t1load.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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];