ref: c7f26a19827e132b1be59a4cd3123e3d871d4dae
parent: 8fb8841430e34b4e61f6e79bb983479ca831e266
author: Werner Lemberg <[email protected]>
date: Fri Mar 18 22:28:21 EDT 2011
C++ compilation fixes. * src/autofit/aflatin.c (af_latin_hints_apply), src/autofit/afcjk.c (af_cjk_hints_apply): Use cast for `dim'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-03-18 Werner Lemberg <[email protected]>
+
+ C++ compilation fixes.
+
+ * src/autofit/aflatin.c (af_latin_hints_apply), src/autofit/afcjk.c
+ (af_cjk_hints_apply): Use cast for `dim'.
+
2011-03-17 Alexei Podtelezhnikov <[email protected]>
A better fix for Savannah bug #32671.
--- a/src/autofit/afcjk.c
+++ b/src/autofit/afcjk.c
@@ -1406,8 +1406,10 @@
FT_Pos delta;
- af_warper_compute( &warper, hints, dim, &scale, &delta );
- af_glyph_hints_scale_dim( hints, dim, scale, delta );
+ af_warper_compute( &warper, hints, (AF_Dimension)dim,
+ &scale, &delta );
+ af_glyph_hints_scale_dim( hints, (AF_Dimension)dim,
+ scale, delta );
continue;
}
#endif /* AF_CONFIG_OPTION_USE_WARPER */
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -2207,8 +2207,10 @@
FT_Pos delta;
- af_warper_compute( &warper, hints, dim, &scale, &delta );
- af_glyph_hints_scale_dim( hints, dim, scale, delta );
+ af_warper_compute( &warper, hints, (AF_Dimension)dim,
+ &scale, &delta );
+ af_glyph_hints_scale_dim( hints, (AF_Dimension)dim,
+ scale, delta );
continue;
}
#endif