diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/inputwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 8faa2082..78cbfab3 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -299,7 +299,7 @@ static int _inp_printable(const wint_t ch) { char bytes[MB_CUR_MAX+1]; - size_t utf_len = wcrtomb(bytes, ch, NULL); + size_t utf_len = wcrtomb(bytes, ch, (mbstate_t*)NULL); bytes[utf_len] = '\0'; gunichar unichar = g_utf8_get_char(bytes); |