From 9fed91d3a22ab86b4b5021a9dfe66a6dbdeb0fad Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 18 Jan 2004 14:09:07 +0000 Subject: [PATCH] fix compiler warnings --- src/sfnt/ttsbit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c index 4b4fd909a..67dc989b0 100644 --- a/src/sfnt/ttsbit.c +++ b/src/sfnt/ttsbit.c @@ -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;