Fix a signed/unsigned comparison when wchar_t is unsigned by casting the
wchar_t to a wint_t.
This commit is contained in:
parent
3c96f482d9
commit
6d3d522f78
@ -280,7 +280,7 @@ filter(FILE *f)
|
||||
obuf[col].c_width = w;
|
||||
for (i = 1; i < w; i++)
|
||||
obuf[col + i].c_width = -1;
|
||||
} else if (obuf[col].c_char == c) {
|
||||
} else if ((wint_t)obuf[col].c_char == c) {
|
||||
for (i = 0; i < w; i++)
|
||||
obuf[col + i].c_mode |= BOLD|mode;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user