summaryrefslogtreecommitdiff
path: root/src/fe-text/term-terminfo.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-17 18:05:25 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-17 18:05:25 +0000
commita543f6330762477e3fb25c38d73fec09ec035ce1 (patch)
treede0dc3148857c8fe3f95f170c110bcf539c3aac4 /src/fe-text/term-terminfo.c
parenta38227e0775edc267175dfcbd1e04e630dbe3c55 (diff)
downloadirssi-a543f6330762477e3fb25c38d73fec09ec035ce1.zip
compiler warning fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2509 dbcabf3a-b0e7-0310-adc4-f8d773084564
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);