ref: ae516e6a43bb3b0b57ef4b3b06dd5611f5a6237f
parent: 801b7540dc1e2f0828aa94a6e407f86adb413bc7
author: Alexei Podtelezhnikov <[email protected]>
date: Thu Sep 16 12:39:23 EDT 2021
* src/pcf/pcfread.c (pcf_read_TOC): Remove casting.
--- a/src/pcf/pcfread.c
+++ b/src/pcf/pcfread.c
@@ -238,7 +238,7 @@
{
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,"