1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-09-01 17:14:15 -04: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:
John Zaitseff 2011-08-29 09:34:29 +10:00
parent a6eb484a96
commit 1f3be16193

View File

@ -124,7 +124,7 @@ typedef struct txwin {
c = (_var); \
if ((w = wcwidth(c)) < 1) { \
err_exit(_("%s: character has illegal width: `%lc'"), \
__stringify(_err), c); \
__stringify(_err), (wint_t) c); \
} \
\
memset(&mbstate, 0, sizeof(mbstate)); \