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

This commit is contained in:
suzuki toshiya 2009-07-03 18:01:38 +09:00
parent 88aae380f2
commit aed4ae7da9
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2009-07-03 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-03 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;