diff --git a/ChangeLog b/ChangeLog index 907d7c39e..8542cbb41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Graham Asher + + * src/truetype/ttinterp.c (Ins_IP), src/autofit/aflatin.c + (af_latin_metrics_scale_dim): Fix compiler warnings. + 2007-05-06 Werner Lemberg * builds/win32/visualce/freetype.sln: Removed, as requested by diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c index 4cec6cb4b..c03211fec 100644 --- a/src/autofit/aflatin.c +++ b/src/autofit/aflatin.c @@ -527,7 +527,8 @@ /* an extra-light axis corresponds to a standard width that is */ /* smaller than 0.75 pixels */ - axis->extra_light = FT_MulFix( axis->standard_width, scale ) < 32 + 8; + axis->extra_light = + (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); if ( dim == AF_DIMENSION_VERT ) { diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 7a45cc5d7..9cd70853f 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -6213,7 +6213,7 @@ ? TT_MULDIV( org_dist, cur_range, old_range ) : cur_dist; - CUR_Func_move( &CUR.zp2, point, new_dist - cur_dist ); + CUR_Func_move( &CUR.zp2, (FT_UShort)point, new_dist - cur_dist ); } CUR.GS.loop = 1; CUR.new_top = CUR.args;