fix compiler warnings

This commit is contained in:
David Turner 2004-01-18 14:09:07 +00:00
parent f77cdca860
commit 5e8d92d892
1 changed files with 2 additions and 2 deletions

View File

@ -635,9 +635,9 @@
for ( i = 0; i < face->num_sbit_strikes; i++ )
{
if ( ( face->sbit_strikes[i].y_ppem == y_ppem ) &&
if ( ( (FT_UInt)face->sbit_strikes[i].y_ppem == y_ppem ) &&
( ( x_ppem == 0 ) ||
( face->sbit_strikes[i].x_ppem == x_ppem ) ) )
( (FT_UInt)face->sbit_strikes[i].x_ppem == x_ppem ) ) )
{
*astrike_index = i;
return SFNT_Err_Ok;