changeset 33142:318846db5166 v9.0.1853

patch 9.0.1853: CI error on different signedness in regexp.c Commit: https://github.com/vim/vim/commit/15cbaae31382f17c96a4519e334dd7ba4a90ecba Author: Christian Brabandt <cb@256bit.org> Date: Sat Sep 2 22:08:43 2023 +0200 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 <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Sep 2023 22:15:05 +0200
parents a01ad657a4a9
children c2f1ef1bbe37
files src/regexp.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]);
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1853,
+/**/
     1852,
 /**/
     1851,