Commit 2062286fa854ae6d7e09965f9de6c848bdfdc602

David Turner 2002-05-01T08:48:35

removed compiler warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c
index 0f6788c..364d5ca 100644
--- 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 ) ||