0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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>
This commit is contained in:
Christian Brabandt 2023-09-02 22:08:43 +02:00
parent d69aecf141
commit 15cbaae313
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 3 additions and 1 deletions

View File

@ -2052,7 +2052,7 @@ vim_regsub_both(
if (copy) if (copy)
{ {
if (eval_result[nested] != NULL && if (eval_result[nested] != NULL &&
STRLEN(eval_result[nested]) < destlen) (int)STRLEN(eval_result[nested]) < destlen)
{ {
STRCPY(dest, eval_result[nested]); STRCPY(dest, eval_result[nested]);
dst += STRLEN(eval_result[nested]); dst += STRLEN(eval_result[nested]);

View File

@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1853,
/**/ /**/
1852, 1852,
/**/ /**/