diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-18 11:09:46 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-18 11:09:46 +0200 |
commit | aa948c76a30cad648998fa7c70e0cf4691659de4 (patch) | |
tree | 45a500757c00c575331b03969b2639110d30d2e4 /src/gui/gui-window.c | |
parent | 885e0d93742e647ae58964a1d2cebcaaaaccd609 (diff) | |
download | weechat-aa948c76a30cad648998fa7c70e0cf4691659de4.zip |
core: remove some compilation warnings under Cygwin
Diffstat (limited to 'src/gui/gui-window.c')
-rw-r--r-- | src/gui/gui-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-window.c b/src/gui/gui-window.c index f16597d34..5d0c0eb14 100644 --- a/src/gui/gui-window.c +++ b/src/gui/gui-window.c @@ -1048,7 +1048,7 @@ gui_window_scroll (struct t_gui_window *window, char *scroll) /* search number and letter */ pos = scroll; - while (pos && pos[0] && isdigit (pos[0])) + while (pos && pos[0] && isdigit ((unsigned char)pos[0])) { pos++; } @@ -1275,7 +1275,7 @@ gui_window_scroll_horiz (struct t_gui_window *window, char *scroll) /* search number and percentage */ pos = scroll; - while (pos && pos[0] && isdigit (pos[0])) + while (pos && pos[0] && isdigit ((unsigned char)pos[0])) { pos++; } |