C++ compilation fixes.

* src/autofit/aflatin.c (af_latin_hints_apply), src/autofit/afcjk.c
(af_cjk_hints_apply): Use cast for `dim'.
This commit is contained in:
Werner Lemberg 2011-03-19 02:28:21 +01:00
parent 8fb8841430
commit c7f26a1982
3 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2011-03-18 Werner Lemberg <wl@gnu.org>
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 <apodtele@gmail.com> 2011-03-17 Alexei Podtelezhnikov <apodtele@gmail.com>
A better fix for Savannah bug #32671. A better fix for Savannah bug #32671.

View File

@ -1406,8 +1406,10 @@
FT_Pos delta; FT_Pos delta;
af_warper_compute( &warper, hints, dim, &scale, &delta ); af_warper_compute( &warper, hints, (AF_Dimension)dim,
af_glyph_hints_scale_dim( hints, dim, scale, delta ); &scale, &delta );
af_glyph_hints_scale_dim( hints, (AF_Dimension)dim,
scale, delta );
continue; continue;
} }
#endif /* AF_CONFIG_OPTION_USE_WARPER */ #endif /* AF_CONFIG_OPTION_USE_WARPER */

View File

@ -2207,8 +2207,10 @@
FT_Pos delta; FT_Pos delta;
af_warper_compute( &warper, hints, dim, &scale, &delta ); af_warper_compute( &warper, hints, (AF_Dimension)dim,
af_glyph_hints_scale_dim( hints, dim, scale, delta ); &scale, &delta );
af_glyph_hints_scale_dim( hints, (AF_Dimension)dim,
scale, delta );
continue; continue;
} }
#endif #endif