summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-09-02 21:48:46 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-02 21:50:10 +0200
commitc8a034210f043639f27b6f346c5a9933f17e7159 (patch)
tree4feaec17b6c49f4c4a1f8b9b8f64aa5a3c92c7f7 /src/ex_cmds.c
parentced2c7394aafdc90fb7845e09b3a3fee23d48cb1 (diff)
patch 9.0.1849: CI error on different signedness in ex_cmds.cv9.0.1849
Problem: CI error on different signedness Solution: cast unsigned to int Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 53c7bb5a37..4f1d93244f 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