shithub: freetype+ttf2subf

Download patch

ref: c0da52327062468c067c646cc4b1873859015b59
parent: 24fe618bdeca6c0b547aff9b2504ed49a8cea2ae
author: Werner Lemberg <[email protected]>
date: Tue Dec 4 16:44:32 EST 2007

* src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler
warning.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-04  Sean McBride  <[email protected]>
+
+	* src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler
+	warning.
+
 2007-11-20  suzuki toshiya  <[email protected]>
 
 	Fix MacOS legacy font support by Masatake Yamato on Mac OS X. It is
--- 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 ) )