summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-09-02 22:08:43 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-02 22:08:43 +0200
commit15cbaae31382f17c96a4519e334dd7ba4a90ecba (patch)
tree15e17133e6c13df5be51931e7a4878600b1cb90b
parentd69aecf141ff05a645d02f39f1cbf6381ed7d0c0 (diff)
patch 9.0.1853: CI error on different signedness in regexp.cv9.0.1853
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>
-rw-r--r--src/regexp.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -700,6 +700,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1853,
+/**/
1852,
/**/
1851,