# HG changeset patch # User Bram Moolenaar # Date 1330520327 -3600 # Node ID cb2ae92ce106de532c53f8a16a82bc2bf6edacd2 # Parent 6832c3e0b70d6e16da2d5aba9d3d6b3b00bba73e updated for version 7.3.459 Problem: Win32: Warnings for type conversion. Solution: Add type casts. (Mike Williams) diff --git a/src/misc2.c b/src/misc2.c --- 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; diff --git a/src/os_win32.c b/src/os_win32.c --- a/src/os_win32.c +++ b/src/os_win32.c @@ -264,7 +264,7 @@ get_exe_name(void) static void unescape_shellxquote(char_u *p, char_u *escaped) { - int l = STRLEN(p); + int l = (int)STRLEN(p); int n; while (*p != NUL) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 459, +/**/ 458, /**/ 457,