summaryrefslogtreecommitdiff
path: root/readline/vi_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/vi_mode.c')
-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 3db3d25cdd3..4c65400e12f 100644
--- a/readline/vi_mode.c
+++ b/readline/vi_mode.c
@@ -138,7 +138,7 @@ _rl_vi_initialize_line ()
{
register uint 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;
}