From 4336cdf31860c5b590c2e5188b0abb6d6e030de0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Wed, 29 Feb 2012 13:58:47 +0100 Subject: [PATCH] updated for version 7.3.459 Problem: Win32: Warnings for type conversion. Solution: Add type casts. (Mike Williams) --- src/misc2.c | 2 +- src/os_win32.c | 2 +- src/version.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/misc2.c b/src/misc2.c index 8183876505..d62c771cdd 100644 --- 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 index 57f004ec24..371363bf00 100644 --- 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 index 49e6515a1f..3c8101bc61 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 459, /**/ 458, /**/ -- GitLab