patch 9.0.1849: CI error on different signedness in ex_cmds.c Commit: https://github.com/vim/vim/commit/c8a034210f043639f27b6f346c5a9933f17e7159 Author: Christian Brabandt <c...@256bit.org> Date: Sat Sep 2 21:48:46 2023 +0200
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 <c...@256bit.org> diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 53c7bb5a3..4f1d93244 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4651,7 +4651,7 @@ ex_substitute(exarg_T *eap) mch_memmove(new_end, sub_firstline + copycol, (size_t)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; #ifdef FEAT_EVAL diff --git a/src/version.c b/src/version.c index b69c41068..c94a450d0 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1849, /**/ 1848, /**/ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1qcWmp-00CTwf-Es%40256bit.org.