]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.459 v7.3.459
authorBram Moolenaar <Bram@vim.org>
Wed, 29 Feb 2012 12:58:47 +0000 (13:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 29 Feb 2012 12:58:47 +0000 (13:58 +0100)
Problem:    Win32: Warnings for type conversion.
Solution:   Add type casts. (Mike Williams)

src/misc2.c
src/os_win32.c
src/version.c

index 81838765058024f2b81954f26103f17234049b0d..d62c771cddd0d786cdfa2a39404b44e9903b39dc 100644 (file)
@@ -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;
index 57f004ec24ed7055f903fec562d40e04f4fedbc6..371363bf00bc813671a74e584a68113dcdc3a962 100644 (file)
@@ -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)
index 49e6515a1fa1cd6a86393257160ed5e39b07f1f8..3c8101bc61cfcb0e297929c6c8fed3d7d47a1b5a 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    459,
 /**/
     458,
 /**/