diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:42 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:42 +0900 |
commit | 2dacccc174576cc9a2fc5b03c7ae4a21487ebe7f (patch) | |
tree | 4660ad4988ba2250c378de7f067e1ad2bd49947a | |
parent | 8b03a77d8880266ce5d9bde650e7deff64567bbf (diff) | |
download | freetype2-2dacccc174576cc9a2fc5b03c7ae4a21487ebe7f.tar.gz |
gxvalid: Extend a few local variables to reduce the casts.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/gxvalid/gxvmorx.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,12 @@ 2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> + 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-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> + gxvalid: Extend `settingTable' to take 32-bit offset. * src/gxvalid/gxvfeat.c (gxv_feat_name_validate): 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 ); |