Skip to content

Commit 4d553b1

Browse files
committed
Cast required to avoid MSVC compiler warning
1 parent f2a335a commit 4d553b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/pdcdisp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
7676
if (ch & A_ALTCHARSET && !(ch & 0xff80))
7777
ch = acs_map[ch & 0x7f];
7878
#endif
79-
ci[dst].Char.UnicodeChar = ch & A_CHARTEXT;
79+
ci[dst].Char.UnicodeChar = (WCHAR)( ch & A_CHARTEXT);
8080

8181
dst++;
8282
}

0 commit comments

Comments
 (0)