fixed a few warnings with Borland C++

VER-2-0-4-PATCH
David Turner 25 years ago
parent 5b3e03a2ae
commit 7a31c1f1da
  1. 2
      src/cache/ftcglyph.c
  2. 2
      src/type1/t1load.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;

@ -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];

Loading…
Cancel
Save