commit | efe06f4dd8713e5a8dc8c537b0fdf89101a87c20 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Nov 11 23:17:39 2013 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Nov 11 23:17:39 2013 +0100 |
tree | 7876cf80fa8ac4fe8a637383a9eecdcba641c4c3 | |
parent | 0f8de8dfb2cc7b778457d9c84305453bd1ef3600 [diff] [blame] |
updated for version 7.4.087 Problem: Compiler warning on 64 bit Windows systems. Solution: Fix type cast. (Mike Williams)
diff --git a/src/ops.c b/src/ops.c index 0aebfa1..bf65191 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -2193,7 +2193,8 @@ 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); }