summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-31 20:28:43 +0200
committerunknown <monty@hundin.mysql.fi>2001-10-31 20:28:43 +0200
commit8ea1c487d92f011279bfacaf2c2b93dc374e5ad9 (patch)
tree92b080e5371729d9f2b8777445095eb5e0545575 /readline
parentd40ce9db4705ce36d90e17e229c031b955f3722d (diff)
downloadmariadb-git-8ea1c487d92f011279bfacaf2c2b93dc374e5ad9.tar.gz
Portability fixes
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;
}