summaryrefslogtreecommitdiff
path: root/src/freetype2/pfr/pfrgload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freetype2/pfr/pfrgload.c')
-rw-r--r--src/freetype2/pfr/pfrgload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freetype2/pfr/pfrgload.c b/src/freetype2/pfr/pfrgload.c
index 3bb1733..6fe6e42 100644
--- a/src/freetype2/pfr/pfrgload.c
+++ b/src/freetype2/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 ) )