ref: b76c3f718d74b975f44510e7acca5c516312175b
parent: 2a2beb47c4b7b61be75ca92c96976ef9f33c64f0
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:37:57 EDT 2009
sfnt: Fix a data type mismatching with its source.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2009-07-31 suzuki toshiya <[email protected]>
+ sfnt: Fix a data type mismatching with its source.
+
+ * src/sfnt/ttcmap.c (tt_cmap13_char_next): Fix the
+ type of `gindex' from FT_ULong to FT_UInt because
+ it is set by FT_UInt tt_cmap13_char_map_binary() or
+ TT_CMap13->cur_gindex.
+
+2009-07-31 suzuki toshiya <[email protected]>
+
sfnt: Extend a few local variables to load 32-bit values.
* src/sfnt/ttkern.c (tt_face_load_kern): Extend `count'
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -2531,7 +2531,7 @@
FT_UInt32 *pchar_code )
{
TT_CMap13 cmap13 = (TT_CMap13)cmap;
- FT_ULong gindex;
+ FT_UInt gindex;
if ( cmap13->cur_charcode >= 0xFFFFFFFFUL )