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:
committed by
Bram Moolenaar
parent
2e7cba347f
commit
a34b4460c2
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user