summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-bar-window.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-07-04 08:39:55 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-07-04 08:39:55 +0200
commit4ecd8a505f6f47df5c87b673b87eceb1e58c67a7 (patch)
treef2cbfd34a348a6d7af42a6c83a1dc5054197176a /src/gui/curses/gui-curses-bar-window.c
parentbd850398e87d1208921217d0831014994d25d643 (diff)
downloadweechat-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-bar-window.c')
-rw-r--r--src/gui/curses/gui-curses-bar-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-bar-window.c b/src/gui/curses/gui-curses-bar-window.c
index bb9854d7a..8c6749cd8 100644
--- a/src/gui/curses/gui-curses-bar-window.c
+++ b/src/gui/curses/gui-curses-bar-window.c
@@ -332,7 +332,7 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window,
1);
break;
default:
- next_char = utf8_next_char (string);
+ next_char = (char *)utf8_next_char (string);
if (!next_char)
break;