зеркало из https://github.com/stride3d/freetype.git
sfnt: Fix a data type mismatching with its source.
This commit is contained in:
Родитель
2a2beb47c4
Коммит
b76c3f718d
|
@ -1,3 +1,12 @@
|
|||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
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 <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
sfnt: Extend a few local variables to load 32-bit values.
|
||||
|
|
|
@ -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 )
|
||||
|
|
Загрузка…
Ссылка в новой задаче