From ae516e6a43bb3b0b57ef4b3b06dd5611f5a6237f Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Thu, 16 Sep 2021 16:39:23 -0400 Subject: [PATCH] * src/pcf/pcfread.c (pcf_read_TOC): Remove casting. --- src/pcf/pcfread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c index 060554ae4..0705dadcf 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,"