diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-10-08 22:58:27 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-10-08 22:58:27 +0000 |
commit | 5e4c08d8a11476b66290b0ea162363f0829cd696 (patch) | |
tree | 12e74bab6bbe05c64c2a30f5cf7cf2aebcc33a28 /src/fe-text/textbuffer-view.c | |
parent | e563de4b8190965ee962d442b238d39c5fbae6ee (diff) | |
download | irssi-5e4c08d8a11476b66290b0ea162363f0829cd696.zip |
Fix r4743 change, avoid sign extension.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4875 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/textbuffer-view.c')
-rw-r--r-- | src/fe-text/textbuffer-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |