shithub: freetype+ttf2subf

Download patch

ref: efa80f2b43057caf3bcbeace84cf8c589cc08836
parent: aaac8133dc7f210c2bd72c52b8a7fe4343e1aee5
author: David Turner <[email protected]>
date: Fri Dec 1 16:43:05 EST 2000

fixed a few warnings with Borland C++

git/fs: mount .git/fs: mount/attach disallowed
--- 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;
--- 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];