From 6e272acc82af900318017061f923e7f66dc7ee7a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 16 Sep 2018 14:51:36 +0200 Subject: patch 8.1.0395: compiler warning on 64-bit MS-Windows Problem: Compiler warning on 64-bit MS-Windows. Solution: Add type cast. (Mike Williams) --- src/diff.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/diff.c b/src/diff.c index 69ba7a3893..02f1c33256 100644 --- a/src/diff.c +++ b/src/diff.c @@ -712,7 +712,7 @@ diff_write_buffer(buf_T *buf, diffin_T *din) // xdiff requires one big block of memory with all the text. for (lnum = 1; lnum <= buf->b_ml.ml_line_count; ++lnum) - len += STRLEN(ml_get_buf(buf, lnum, FALSE)) + 1; + len += (long)STRLEN(ml_get_buf(buf, lnum, FALSE)) + 1; ptr = lalloc(len, TRUE); if (ptr == NULL) { diff --git a/src/version.c b/src/version.c index 29557cdf65..7b6b07fc39 100644 --- a/src/version.c +++ b/src/version.c @@ -794,6 +794,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 395, /**/ 394, /**/ -- cgit v1.2.3