cache: Fix some data types mismatching with their sources.

This commit is contained in:
suzuki toshiya 2009-07-03 18:01:23 +09:00
parent 6867d87ca8
commit 12742fd35a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2009-07-03 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-03 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 )