summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
Diffstat (limited to 'readline')
-rw-r--r--readline/vi_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/vi_mode.c b/readline/vi_mode.c
index d4868bf3b13..2a4f11d28a4 100644
--- a/readline/vi_mode.c
+++ b/readline/vi_mode.c
@@ -138,7 +138,7 @@ _rl_vi_initialize_line ()
{
register int i;
- for (i = 0; i < sizeof (vi_mark_chars) / sizeof (int); i++)
+ for (i = 0; i < (int) sizeof (vi_mark_chars) / sizeof (int); i++)
vi_mark_chars[i] = -1;
}