From: ichizok Date: Mon, 16 Mar 2026 21:31:14 +0000 (+0000) Subject: patch 9.2.0179: MS-Windows: Compiler warning for converting from size_t to int X-Git-Tag: v9.2.0179^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e06d084735964575fc17e949b472b57d0ff4e19b;p=thirdparty%2Fvim.git patch 9.2.0179: MS-Windows: Compiler warning for converting from size_t to int Problem: MS-Windows: Compile warning for converting from size_t to int breaks the Appveyor CI (after v9.2.0168) Solution: Explicitly cast to int in convert_string() (ichizok). closes: #19722 Signed-off-by: ichizok Signed-off-by: Christian Brabandt --- diff --git a/src/strings.c b/src/strings.c index 009285453f..37f52fe248 100644 --- a/src/strings.c +++ b/src/strings.c @@ -1218,7 +1218,7 @@ convert_string(string_T *str, char_u *from, char_u *to, string_T *ret) } else { - int len = str->length; + int len = (int)str->length; ret->string = string_convert(&vimconv, str->string, &len); ret->length = len; } diff --git a/src/version.c b/src/version.c index d8b677a37f..fe4fe69b2d 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 179, /**/ 178, /**/