From a5c0cc11330157c721748e317e8ff54b649610ca Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 Jul 2016 16:40:39 +0200 Subject: [PATCH] patch 7.4.2125 Problem: Compiler warning for loss of data. Solution: Add a type cast. (Christian Brabandt) --- src/message.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/message.c b/src/message.c index fe68b5bd0..b4d7b65e6 100644 --- a/src/message.c +++ b/src/message.c @@ -304,7 +304,7 @@ trunc_string( if (len + n > room || half == 0) break; len += n; - i = half; + i = (int)half; } } else diff --git a/src/version.c b/src/version.c index 9c771022e..429dda03f 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2125, /**/ 2124, /**/ -- 2.50.1