summaryrefslogtreecommitdiff
path: root/src/fe-text/term-terminfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/term-terminfo.c')
-rw-r--r--src/fe-text/term-terminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c
index e09e9c20..43d11375 100644
--- a/src/fe-text/term-terminfo.c
+++ b/src/fe-text/term-terminfo.c
@@ -386,7 +386,7 @@ void term_addch(TERM_WINDOW *window, int chr)
static void term_addch_utf8(TERM_WINDOW *window, unichar chr)
{
- unsigned char buf[10];
+ char buf[10];
int i, len;
len = utf16_char_to_utf8(chr, buf);