shithub: freetype+ttf2subf

Download patch

ref: 2062286fa854ae6d7e09965f9de6c848bdfdc602
parent: 10937304475b6b2737d3aa0571a23ead083da7cb
author: David Turner <[email protected]>
date: Wed May 1 04:48:35 EDT 2002

removed compiler warning

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -990,7 +990,7 @@
 
     /* some broken asian fonts have a storage offset whose value is */
     /* 12*numNameRecords. We deal with them here..                  */
-    if ( storageOffset == 12 * names->numNameRecords )
+    if ( storageOffset == (FT_ULong)(12 * names->numNameRecords) )
       storageOffset += 6;
     
     if ( storageOffset <  (FT_ULong)( 6 + 12 * names->numNameRecords ) ||