diff --git a/ChangeLog b/ChangeLog index ab77da8f2..de64bc7f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-04 Sean McBride + + * src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler + warning. + 2007-11-20 suzuki toshiya Fix MacOS legacy font support by Masatake Yamato on Mac OS X. It is diff --git a/src/pfr/pfrgload.c b/src/pfr/pfrgload.c index 3bb173302..6fe6e4225 100644 --- a/src/pfr/pfrgload.c +++ b/src/pfr/pfrgload.c @@ -595,7 +595,7 @@ if ( org_count + count > glyph->max_subs ) { - FT_UInt new_max = ( org_count + count + 3 ) & -4; + FT_UInt new_max = ( org_count + count + 3 ) & (FT_UInt)-4; if ( FT_RENEW_ARRAY( glyph->subs, glyph->max_subs, new_max ) )