summaryrefslogtreecommitdiffstats
path: root/src/dosinst.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/dosinst.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/dosinst.c')
-rw-r--r--src/dosinst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dosinst.c b/src/dosinst.c
index 416528c097..60e3c649ac 100644
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -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);
}