cache: Fix some data types mismatching with their sources.

This commit is contained in:
suzuki toshiya 2009-08-01 00:30:19 +09:00
parent 9f50873a81
commit ebf8e294fc
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
cache: Fix some data types mismatching with their sources.
* src/cache/ftcsbits.c (ftc_snode_load): The types
of `xadvance' and `yadvance' are matched with
FT_GlyphSlot->advance.{x|y}.
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
cache: Cast NULL to a required function type explicitly.

View File

@ -129,7 +129,7 @@
FT_Int temp;
FT_GlyphSlot slot = face->glyph;
FT_Bitmap* bitmap = &slot->bitmap;
FT_Int xadvance, yadvance;
FT_Pos xadvance, yadvance; /* FT_GlyphSlot->advance.{x|y} */
if ( slot->format != FT_GLYPH_FORMAT_BITMAP )