cache: Fix some data types mismatching with their sources.

dbgmem-more-limiters
suzuki toshiya 16 years ago
parent 9f50873a81
commit ebf8e294fc
  1. 8
      ChangeLog
  2. 2
      src/cache/ftcsbits.c

@ -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.

@ -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 )

Loading…
Cancel
Save