Commit ae516e6a43bb3b0b57ef4b3b06dd5611f5a6237f

Alexei Podtelezhnikov 2021-09-16T16:39:23

* src/pcf/pcfread.c (pcf_read_TOC): Remove casting.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c
index 060554a..0705dad 100644
--- a/src/pcf/pcfread.c
+++ b/src/pcf/pcfread.c
@@ -238,7 +238,7 @@ THE SOFTWARE.
       {
         for ( j = 0; j < sizeof ( tableNames ) / sizeof ( tableNames[0] );
               j++ )
-          if ( tables[i].type == (FT_UInt)( 1 << j ) )
+          if ( tables[i].type == 1UL << j )
             name = tableNames[j];
 
         FT_TRACE4(( "  %d: type=%s, format=0x%lX,"