mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -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:
parent
d69aecf141
commit
15cbaae313
@ -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]);
|
||||
|
@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1853,
|
||||
/**/
|
||||
1852,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user