gxvalid: Guarantee `trak' table size upto 32-bit.

This commit is contained in:
suzuki toshiya 2009-08-01 00:32:22 +09:00
parent 49740490e1
commit 205a2a0cce
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
gxvalid: Guarantee `trak' table size upto 32-bit.
* src/gxvalid/gxvtrak.c (gxv_trak_validate):
The type of `offset' is changed from FT_UInt to
FT_Offset, for 16-bit platforms.
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
type1: Fix a data type mismatching with its source.

View File

@ -198,7 +198,7 @@
{
FT_Bytes p = table;
FT_Bytes limit = 0;
FT_UInt table_size;
FT_Offset table_size;
GXV_ValidatorRec validrec;
GXV_Validator valid = &validrec;