fixed compiler warning

This commit is contained in:
David Turner 2006-02-21 17:10:27 +00:00
parent c093db9d06
commit 44c865dfe1
1 changed files with 4 additions and 4 deletions

View File

@ -124,8 +124,8 @@
goto Fail;
num_longs = face->vertical.number_Of_VMetrics;
if ( num_longs > table_len / 4 )
num_longs = table_len / 4;
if ( (FT_ULong)num_longs > table_len / 4 )
num_longs = (FT_Long)(table_len / 4);
face->vertical.number_Of_VMetrics = 0;
@ -139,8 +139,8 @@
goto Fail;
num_longs = face->horizontal.number_Of_HMetrics;
if ( num_longs > table_len / 4 )
num_longs = table_len / 4;
if ( (FT_ULong)num_longs > table_len / 4 )
num_longs = (FT_Long)(table_len / 4);
face->horizontal.number_Of_HMetrics = 0;