diff src/ex_getln.c @ 3529:ac2e00f917df v7.3.525

updated for version 7.3.525 Problem: Compiler warning on 64 bit MS-Windows. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Fri, 25 May 2012 11:02:41 +0200
parents 7e4428115d2c
children 7a710cf51d73
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -5263,7 +5263,7 @@ get_history_arg(xp, idx)
 {
     static char_u compl[2] = { NUL, NUL };
     char *short_names = ":=@>?/";
-    int short_names_count = STRLEN(short_names);
+    int short_names_count = (int)STRLEN(short_names);
     int history_name_count = sizeof(history_names) / sizeof(char *) - 1;
 
     if (idx < short_names_count)