mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Fix r4743 change, avoid sign extension.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4875 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e563de4b81
commit
5e4c08d8a1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user