summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-readline.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-11 10:15:34 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-11 10:15:34 +0000
commit1a3c700838fa1cbfab750dc317ee41e68d77cc31 (patch)
treeaf161205e02e782b8bdf891ee656be3f25b65abb /src/fe-text/gui-readline.c
parent348060073d06ffe312c6f54007f835aa9a8dec58 (diff)
downloadirssi-1a3c700838fa1cbfab750dc317ee41e68d77cc31.zip
Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-readline.c')
-rw-r--r--src/fe-text/gui-readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index ed1a407a..56dee1c3 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -372,7 +372,7 @@ static void key_transpose_characters(void)
static void key_delete_character(void)
{
- if (gui_entry_get_pos() < strlen(gui_entry_get_text())) {
+ if (gui_entry_get_pos() < (int)strlen(gui_entry_get_text())) {
gui_entry_move_pos(1);
gui_entry_erase(1);
}