Mercurial > vim
changeset 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 | d915c19ad092 |
children | 469e04f9fade |
files | src/ex_getln.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
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)