0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.1849: CI error on different signedness in ex_cmds.c

Problem:  CI error on different signedness
Solution: cast unsigned to int

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2023-09-02 21:48:46 +02:00
parent ced2c7394a
commit c8a034210f
2 changed files with 3 additions and 1 deletions

View File

@@ -4651,7 +4651,7 @@ ex_substitute(exarg_T *eap)
mch_memmove(new_end, sub_firstline + copycol, (size_t)copy_len); mch_memmove(new_end, sub_firstline + copycol, (size_t)copy_len);
new_end += copy_len; new_end += copy_len;
if (new_start_len - copy_len < sublen) if ((int)new_start_len - copy_len < sublen)
sublen = new_start_len - copy_len - 1; sublen = new_start_len - copy_len - 1;
#ifdef FEAT_EVAL #ifdef FEAT_EVAL

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 */
/**/
1849,
/**/ /**/
1848, 1848,
/**/ /**/