# HG changeset patch # User Christian Brabandt # Date 1712693702 -7200 # Node ID f92e32ddcbdbecfe2bb425882827b2a03cb137bb # Parent e7d12fddcb64b9b29412940f2ce18af473c0d267 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 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 Signed-off-by: Christian Brabandt diff --git a/src/highlight.c b/src/highlight.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 288, +/**/ 287, /**/ 286,