diff --git a/ChangeLog b/ChangeLog index 44231e0e7..1bee40148 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-07-31 suzuki toshiya + + 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 cache: Cast NULL to a required function type explicitly. diff --git a/src/cache/ftcsbits.c b/src/cache/ftcsbits.c index b95aabc78..3bd5dd604 100644 --- a/src/cache/ftcsbits.c +++ b/src/cache/ftcsbits.c @@ -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 )