about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-26 20:52:45 +0000
committerJames Booth <boothj5@gmail.com>2015-10-26 20:52:45 +0000
commit8966c59fe142d18ace924c7c390618cb90064f72 (patch)
tree145f6a49f4fbf4ebafdb0806f2946310a754f78e
parent2f68063acab73bffd6d9a127fd5d9371e16d89be (diff)
parent86c3c50219950f29511a266d638a1f38a45afe9a (diff)
downloadprofani-tty-8966c59fe142d18ace924c7c390618cb90064f72.tar.gz
Merge remote-tracking branch 'jubalh/compwarn'
-rw-r--r--src/ui/inputwin.c2
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);