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

This commit is contained in:
suzuki toshiya 2009-07-03 18:01:38 +09:00
parent aed4ae7da9
commit 3114e3cb18
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 `just' table size upto 32-bit.
* src/gxvalid/gxvjust.c (gxv_just_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>
gxvalid: Guarantee `trak' table size upto 32-bit.

View File

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