ref: 94be20ea8243b5118b0f0720aa09dce33aa51ed6
parent: 4127103f8d04981a84b94adc2880335bf6a0b6fd
author: Werner Lemberg <[email protected]>
date: Wed May 9 16:02:55 EDT 2007
* src/truetype/ttinterp.c (Ins_IP), src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix compiler warnings.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-09 Graham Asher <[email protected]>
+
+ * src/truetype/ttinterp.c (Ins_IP), src/autofit/aflatin.c
+ (af_latin_metrics_scale_dim): Fix compiler warnings.
+
2007-05-06 Werner Lemberg <[email protected]>
* builds/win32/visualce/freetype.sln: Removed, as requested by
--- 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 )
{
--- 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;