patch 9.1.0288: MS-Windows: compiler warning for size_t to int conversion

Commit: 
https://github.com/vim/vim/commit/72a156b4edfdf1502d421370cf38281c258e3c4a
Author: Mike Williams <mrmrdu...@gmail.com>
Date:   Tue Apr 9 22:04:54 2024 +0200

    patch 9.1.0288: MS-Windows: compiler warning for size_t to int conversion
    
    Problem:  MS-Windows: compiler warning for size_t to int conversion
              (after  v9.1.0282)
    Solution: Use size_t instead of int in highlight_set_termgui_attr
              (Mike Williams)
    
    closes: #14457
    
    Signed-off-by: Mike Williams <mrmrdu...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/highlight.c b/src/highlight.c
index 54e348d33..9aa149ff9 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -860,7 +860,7 @@ highlight_reset_all(void)
 highlight_set_termgui_attr(int idx, char_u *key, char_u *arg, int init)
 {
     int                attr;
-    int                off;
+    size_t     off;
     keyvalue_T target;
     keyvalue_T *entry;
 
diff --git a/src/version.c b/src/version.c
index 8cb3262c8..44f992367 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    288,
 /**/
     287,
 /**/

-- 
-- 
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/E1ruHry-000ojB-Vw%40256bit.org.

Raspunde prin e-mail lui