From 8ea1c487d92f011279bfacaf2c2b93dc374e5ad9 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 31 Oct 2001 20:28:43 +0200 Subject: Portability fixes --- readline/vi_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'readline') 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; } -- cgit v1.2.1