From 5e4c08d8a11476b66290b0ea162363f0829cd696 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Wed, 8 Oct 2008 22:58:27 +0000 Subject: Fix r4743 change, avoid sign extension. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4875 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/textbuffer-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c index 0c490592..59411b01 100644 --- a/src/fe-text/textbuffer-view.c +++ b/src/fe-text/textbuffer-view.c @@ -144,7 +144,7 @@ static void update_cmd_color(unsigned char cmd, int *color) } } -static inline unichar read_unichar(const char *data, const unsigned char **next, int *width) +static inline unichar read_unichar(const unsigned char *data, const unsigned char **next, int *width) { unichar chr = g_utf8_get_char_validated(data, -1); -- cgit v1.2.3