Commit 9fed91d3a22ab86b4b5021a9dfe66a6dbdeb0fad

David Turner 2004-01-18T14:09:07

fix compiler warnings

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c
index 4b4fd90..67dc989 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;