From 2f07c57f5ab9649d7a2c76bc635291df2c4af0d1 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 1 Aug 2009 00:32:22 +0900 Subject: [PATCH] gxvalid: Guarantee `just' table size upto 32-bit. --- ChangeLog | 8 ++++++++ src/gxvalid/gxvjust.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fd8e89a4e..107e831d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-07-31 suzuki toshiya + + 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 gxvalid: Guarantee `trak' table size upto 32-bit. diff --git a/src/gxvalid/gxvjust.c b/src/gxvalid/gxvjust.c index e951ce00e..e14f946f2 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;