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

int-not32-changes
suzuki toshiya 16 years ago
parent 88aae380f2
commit aed4ae7da9
  1. 8
      ChangeLog
  2. 2
      src/gxvalid/gxvtrak.c

@ -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.

@ -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;

Loading…
Cancel
Save