mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-02 23:16:21 +00:00
Merge remote-tracking branch 'jubalh/compwarn'
This commit is contained in:
@@ -299,7 +299,7 @@ static int
|
|||||||
_inp_printable(const wint_t ch)
|
_inp_printable(const wint_t ch)
|
||||||
{
|
{
|
||||||
char bytes[MB_CUR_MAX+1];
|
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';
|
bytes[utf_len] = '\0';
|
||||||
gunichar unichar = g_utf8_get_char(bytes);
|
gunichar unichar = g_utf8_get_char(bytes);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user