From c0da52327062468c067c646cc4b1873859015b59 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 4 Dec 2007 21:44:32 +0000 Subject: [PATCH] * src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler warning. --- ChangeLog | 5 +++++ src/pfr/pfrgload.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ) )