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 <mrmrdubya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
9a91d2b72c
commit
72a156b4ed
@ -860,7 +860,7 @@ highlight_reset_all(void)
|
|||||||
highlight_set_termgui_attr(int idx, char_u *key, char_u *arg, int init)
|
highlight_set_termgui_attr(int idx, char_u *key, char_u *arg, int init)
|
||||||
{
|
{
|
||||||
int attr;
|
int attr;
|
||||||
int off;
|
size_t off;
|
||||||
keyvalue_T target;
|
keyvalue_T target;
|
||||||
keyvalue_T *entry;
|
keyvalue_T *entry;
|
||||||
|
|
||||||
|
|||||||
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
288,
|
||||||
/**/
|
/**/
|
||||||
287,
|
287,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user