forked from minhngoc25a/freetype2
gxvalid: Guarantee `nFeatureFlags' size up to 32-bit.
This commit is contained in:
parent
cad4f91555
commit
eceaffef3e
|
@ -1,3 +1,11 @@
|
|||
2009-07-31 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-31 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