# HG changeset patch # User Christian Brabandt # Date 1693684803 -7200 # Node ID 0db7088b659e52309530abc3b09a86b74e828251 # Parent 2cd6ea5387b2cd2b3536a41698fc59ce0e43b7b0 patch 9.0.1849: CI error on different signedness in ex_cmds.c Commit: https://github.com/vim/vim/commit/c8a034210f043639f27b6f346c5a9933f17e7159 Author: Christian Brabandt 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 diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1849, +/**/ 1848, /**/ 1847,