ref: 205a2a0cceae267d047b6298a6c5bf4de1c5f367
parent: 49740490e1911580b00e5b86df895ba4683a2798
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:22 EDT 2009
gxvalid: Guarantee `trak' table size upto 32-bit.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-07-31 suzuki toshiya <[email protected]>
+ 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 <[email protected]>
+
type1: Fix a data type mismatching with its source.
* include/freetype/internal/t1types.h: The type of
--- a/src/gxvalid/gxvtrak.c
+++ b/src/gxvalid/gxvtrak.c
@@ -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;