From: Christian Brabandt Date: Sat, 2 Sep 2023 20:08:43 +0000 (+0200) Subject: patch 9.0.1853: CI error on different signedness in regexp.c X-Git-Tag: v9.0.1853 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15cbaae31382f17c96a4519e334dd7ba4a90ecba;p=thirdparty%2Fvim.git patch 9.0.1853: CI error on different signedness in regexp.c Problem: CI error on different signedness in regexp.c (after patch 9.0.1848) Solution: Cast strlen() call to int Signed-off-by: Christian Brabandt --- diff --git a/src/regexp.c b/src/regexp.c index edd1293a53..2c740d303d 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -2052,7 +2052,7 @@ vim_regsub_both( if (copy) { if (eval_result[nested] != NULL && - STRLEN(eval_result[nested]) < destlen) + (int)STRLEN(eval_result[nested]) < destlen) { STRCPY(dest, eval_result[nested]); dst += STRLEN(eval_result[nested]); diff --git a/src/version.c b/src/version.c index 61fe83b785..fe1495ab6d 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1853, /**/ 1852, /**/