Mercurial > vim
changeset 3386:cb2ae92ce106 v7.3.459
updated for version 7.3.459
Problem: Win32: Warnings for type conversion.
Solution: Add type casts. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 29 Feb 2012 13:58:47 +0100 |
parents | 6832c3e0b70d |
children | 953e7f4adbe1 |
files | src/misc2.c src/os_win32.c src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -2074,7 +2074,7 @@ ga_grow(gap, n) n = gap->ga_growsize; new_len = gap->ga_itemsize * (gap->ga_len + n); pp = (gap->ga_data == NULL) - ? alloc(new_len) : vim_realloc(gap->ga_data, new_len); + ? alloc((unsigned)new_len) : vim_realloc(gap->ga_data, new_len); if (pp == NULL) return FAIL; old_len = gap->ga_itemsize * gap->ga_maxlen;