From: Mike Williams Date: Tue, 9 Apr 2024 20:04:54 +0000 (+0200) Subject: patch 9.1.0288: MS-Windows: compiler warning for size_t to int conversion X-Git-Tag: v9.1.0288^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72a156b4edfdf1502d421370cf38281c258e3c4a;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/src/highlight.c b/src/highlight.c index 54e348d330..9aa149ff9c 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 8cb3262c89..44f9923674 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, /**/