# HG changeset patch # User Christian Brabandt # Date 1469889906 -7200 # Node ID a1b1405a33ca6965628e5e0d0f3e66562412d767 # Parent c1569cc2b368f8f7ddb8bb0ffc13d395664d4c7d commit https://github.com/vim/vim/commit/a5c0cc11330157c721748e317e8ff54b649610ca Author: Bram Moolenaar Date: Sat Jul 30 16:40:39 2016 +0200 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2125, +/**/ 2124, /**/ 2123,