Commit efa80f2b43057caf3bcbeace84cf8c589cc08836

David Turner 2000-12-01T21:43:05

fixed a few warnings with Borland C++

diff --git a/src/cache/ftcglyph.c b/src/cache/ftcglyph.c
index a4b515b..b378132 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 06381bc..6e5a47a 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];