gxvalid: Guarantee `nFeatureFlags' size up to 32-bit.
This commit is contained in:
parent
3fa528c45d
commit
277733fc8d
@ -1,3 +1,11 @@
|
||||
2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
gxvalid: Guarantee `nFeatureFlags' size up to 32-bit.
|
||||
|
||||
* src/gxvalid/gxvmort.c (gxv_mort_featurearray_validate):
|
||||
Extend the 3rd argument `nFeatureFlags' to FT_ULong.
|
||||
* src/gxvalid/gxvmort.h: Ditto.
|
||||
|
||||
2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
sfnt: Insert explicit cast for LP64 system.
|
||||
|
@ -85,17 +85,17 @@
|
||||
|
||||
|
||||
/*
|
||||
* nFeatureFlags is typed to FT_UInt to accept that in
|
||||
* nFeatureFlags is typed to FT_ULong to accept that in
|
||||
* mort (typed FT_UShort) and morx (typed FT_ULong).
|
||||
*/
|
||||
FT_LOCAL_DEF( void )
|
||||
gxv_mort_featurearray_validate( FT_Bytes table,
|
||||
FT_Bytes limit,
|
||||
FT_UInt nFeatureFlags,
|
||||
FT_ULong nFeatureFlags,
|
||||
GXV_Validator valid )
|
||||
{
|
||||
FT_Bytes p = table;
|
||||
FT_UInt i;
|
||||
FT_ULong i;
|
||||
|
||||
GXV_mort_featureRec f = GXV_MORT_FEATURE_OFF;
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
||||
FT_LOCAL( void )
|
||||
gxv_mort_featurearray_validate( FT_Bytes table,
|
||||
FT_Bytes limit,
|
||||
FT_UInt nFeatureFlags,
|
||||
FT_ULong nFeatureFlags,
|
||||
GXV_Validator valid );
|
||||
|
||||
FT_LOCAL( void )
|
||||
|
Loading…
Reference in New Issue
Block a user