ref: 9fed91d3a22ab86b4b5021a9dfe66a6dbdeb0fad
parent: fd20da4b7581eea5c6dd8212441a603c69186543
author: David Turner <[email protected]>
date: Sun Jan 18 09:09:07 EST 2004
fix compiler warnings
--- 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;