0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -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

@@ -1527,7 +1527,7 @@ register_openwith(
"*\\OpenWithList\\gvim.exe",
};
for (i = 0; ERROR_SUCCESS == lRet && i < ARRAYSIZE(openwith); i++)
for (i = 0; ERROR_SUCCESS == lRet && i < (int)ARRAYSIZE(openwith); i++)
lRet = reg_create_key_and_value(hRootKey, openwith[i], NULL, "", flag);
}