]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.087 v7.4.087
authorBram Moolenaar <Bram@vim.org>
Mon, 11 Nov 2013 22:17:39 +0000 (23:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 11 Nov 2013 22:17:39 +0000 (23:17 +0100)
Problem:    Compiler warning on 64 bit Windows systems.
Solution:   Fix type cast. (Mike Williams)

src/ops.c
src/version.c

index 0aebfa14f454f4a8d1a0ef39aa000c5b9198dba0..bf651918999856f86f0e676d5ee5615dc1d89c7b 100644 (file)
--- a/src/ops.c
+++ b/src/ops.c
@@ -2193,7 +2193,8 @@ op_replace(oap, c)
            else
            {
                /* Replacing with \r or \n means splitting the line. */
-               after_p = alloc_check((unsigned)oldlen + 1 + n - STRLEN(newp));
+               after_p = alloc_check(
+                                  (unsigned)(oldlen + 1 + n - STRLEN(newp)));
                if (after_p != NULL)
                    STRMOVE(after_p, oldp);
            }
index f4555c7261c97b1a019764c7c425f89854eb443f..9b78b171dd0b7e2da420a795b4baf6ab134a32c8 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    87,
 /**/
     86,
 /**/