diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-04 08:39:55 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-07-04 08:39:55 +0200 |
commit | 4ecd8a505f6f47df5c87b673b87eceb1e58c67a7 (patch) | |
tree | f2cbfd34a348a6d7af42a6c83a1dc5054197176a /src/gui/curses/gui-curses-key.c | |
parent | bd850398e87d1208921217d0831014994d25d643 (diff) | |
download | weechat-4ecd8a505f6f47df5c87b673b87eceb1e58c67a7.zip |
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
Diffstat (limited to 'src/gui/curses/gui-curses-key.c')
-rw-r--r-- | src/gui/curses/gui-curses-key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c index 408d76d81..47356fa27 100644 --- a/src/gui/curses/gui-curses-key.c +++ b/src/gui/curses/gui-curses-key.c @@ -380,7 +380,7 @@ gui_key_flush (int paste) (void) utf8_is_valid (ptr_char, &ptr_error); if (!ptr_error) break; - next_char = utf8_next_char (ptr_error); + next_char = (char *)utf8_next_char (ptr_error); if (next_char && next_char[0]) { ptr_char = ptr_error; |