changeset 5475:9334c994be7b v7.4.087

updated for version 7.4.087 Problem: Compiler warning on 64 bit Windows systems. Solution: Fix type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Mon, 11 Nov 2013 23:17:39 +0100
parents f6940759212d
children 63314ae20838
files src/ops.c src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 	    }
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    87,
+/**/
     86,
 /**/
     85,