summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-06-11 10:43:26 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-11 10:43:26 +0100
commita34b4460c2843c67a35a2d236b01e6cb9bc38734 (patch)
tree8e59b458c22bad964993b790511d05fc131e4b94 /src/gui_w32.c
parent2e7cba347fc8b746add12aa5e0e9f6218a76c788 (diff)
patch 8.2.5077: various warnings from clang on MS-Windowsv8.2.5077
Problem: Various warnings from clang on MS-Windows. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index cbfe6627ff..7bdbf418da 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -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);