patch 9.0.1853: CI error on different signedness in regexp.c

Commit: 
https://github.com/vim/vim/commit/15cbaae31382f17c96a4519e334dd7ba4a90ecba
Author: Christian Brabandt <c...@256bit.org>
Date:   Sat Sep 2 22:08:43 2023 +0200

    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 <c...@256bit.org>

diff --git a/src/regexp.c b/src/regexp.c
index edd1293a5..2c740d303 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -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]);
diff --git a/src/version.c b/src/version.c
index 61fe83b78..fe1495ab6 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 */
+/**/
+    1853,
 /**/
     1852,
 /**/

-- 
-- 
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/E1qcX1N-00CV0n-NS%40256bit.org.

Raspunde prin e-mail lui