Skip to content

Commit 803d92f

Browse files
authored
Merge pull request #343 from pavkam/master
chore: fix warning when building wingui with VS 2022
2 parents fdd95ca + 83361c6 commit 803d92f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wingui/pdcdisp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static bool character_is_in_font( chtype ichar)
330330
for( i = PDC_unicode_range_data->cRanges; i; i--, wptr++)
331331
if( wptr->wcLow > ichar)
332332
return( FALSE);
333-
else if( wptr->wcLow + wptr->cGlyphs > ichar)
333+
else if( wptr->wcLow + wptr->cGlyphs > (WCHAR)ichar)
334334
return( TRUE);
335335
/* Didn't find it in any range; it must not be in the font */
336336
return( FALSE);

0 commit comments

Comments
 (0)