diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index 0f6788c14..364d5ca92 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 ) ||