0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.5077: various warnings from clang on MS-Windows

Problem:    Various warnings from clang on MS-Windows.
Solution:   Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
This commit is contained in:
Yegappan Lakshmanan
2022-06-11 10:43:26 +01:00
committed by Bram Moolenaar
parent 2e7cba347f
commit a34b4460c2
7 changed files with 24 additions and 18 deletions

View File

@@ -1712,7 +1712,7 @@ gui_mch_get_color(char_u *name)
/*
* Try to look up a system colour.
*/
for (i = 0; i < ARRAY_LENGTH(sys_table); i++)
for (i = 0; i < (int)ARRAY_LENGTH(sys_table); i++)
if (STRICMP(name, sys_table[i].name) == 0)
return GetSysColor(sys_table[i].color);