From 8eb551f1b3feaad1b0e389caba118a87f8d00f8b Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 1 Aug 2009 00:37:55 +0900 Subject: [PATCH] gxvalid: Extend a few local variables to reduce the casts. --- ChangeLog | 7 +++++++ src/gxvalid/gxvmorx.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9d31faa85..ccb5c0d43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 suzuki toshiya + + gxvalid: Extend a few local variables to reduce the casts. + + * src/gxvalid/gxvmorx.c (gxv_morx_subtables_validate): + Extend `type' and `rest' to take FT_ULong values. + 2009-07-31 suzuki toshiya gxvalid: Extend `settingTable' to take 32-bit offset. diff --git a/src/gxvalid/gxvmorx.c b/src/gxvalid/gxvmorx.c index d217940ea..f8ba5b985 100644 --- a/src/gxvalid/gxvmorx.c +++ b/src/gxvalid/gxvmorx.c @@ -69,8 +69,8 @@ FT_ULong length; FT_ULong coverage; FT_ULong subFeatureFlags; - FT_UInt type; - FT_UInt rest; + FT_ULong type; + FT_ULong rest; GXV_LIMIT_CHECK( 4 + 4 + 4 );