gxvalid: Guarantee `just' table size upto 32-bit.
diff --git a/ChangeLog b/ChangeLog
index fd8e89a..107e831 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-07-31 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-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
gxvalid: Guarantee `trak' table size upto 32-bit.
* src/gxvalid/gxvtrak.c (gxv_trak_validate):
diff --git a/src/gxvalid/gxvjust.c b/src/gxvalid/gxvjust.c
index e951ce0..e14f946 100644
--- a/src/gxvalid/gxvjust.c
+++ b/src/gxvalid/gxvjust.c
@@ -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;