forked from aniani/vim
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:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user