From: Bram Moolenaar Date: Sat, 30 Jul 2016 14:40:39 +0000 (+0200) Subject: patch 7.4.2125 X-Git-Tag: v7.4.2125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5c0cc11330157c721748e317e8ff54b649610ca;p=vim patch 7.4.2125 Problem: Compiler warning for loss of data. Solution: Add a type cast. (Christian Brabandt) --- 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, /**/