mirror of
https://git.zap.org.au/git/trader.git
synced 2025-02-02 15:08:13 -05:00
The "%lc" directive requires a wint_t type, not wchar_t
This is essentially only to keep GCC quiet.
This commit is contained in:
parent
a6eb484a96
commit
1f3be16193
@ -124,7 +124,7 @@ typedef struct txwin {
|
|||||||
c = (_var); \
|
c = (_var); \
|
||||||
if ((w = wcwidth(c)) < 1) { \
|
if ((w = wcwidth(c)) < 1) { \
|
||||||
err_exit(_("%s: character has illegal width: `%lc'"), \
|
err_exit(_("%s: character has illegal width: `%lc'"), \
|
||||||
__stringify(_err), c); \
|
__stringify(_err), (wint_t) c); \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
memset(&mbstate, 0, sizeof(mbstate)); \
|
memset(&mbstate, 0, sizeof(mbstate)); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user