Mercurial > vim
comparison src/dosinst.c @ 29113:495d55210aac v8.2.5077
patch 8.2.5077: various warnings from clang on MS-Windows
Commit: https://github.com/vim/vim/commit/a34b4460c2843c67a35a2d236b01e6cb9bc38734
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Jun 11 10:43:26 2022 +0100
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 https://github.com/vim/vim/issues/10553)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 Jun 2022 11:45:04 +0200 |
parents | faf7fcd1c8d5 |
children | f1d5ad2b978e |
comparison
equal
deleted
inserted
replaced
29112:a8ee24a8bde1 | 29113:495d55210aac |
---|---|
1525 ".htm\\OpenWithList\\gvim.exe", | 1525 ".htm\\OpenWithList\\gvim.exe", |
1526 ".vim\\OpenWithList\\gvim.exe", | 1526 ".vim\\OpenWithList\\gvim.exe", |
1527 "*\\OpenWithList\\gvim.exe", | 1527 "*\\OpenWithList\\gvim.exe", |
1528 }; | 1528 }; |
1529 | 1529 |
1530 for (i = 0; ERROR_SUCCESS == lRet && i < ARRAYSIZE(openwith); i++) | 1530 for (i = 0; ERROR_SUCCESS == lRet && i < (int)ARRAYSIZE(openwith); i++) |
1531 lRet = reg_create_key_and_value(hRootKey, openwith[i], NULL, "", flag); | 1531 lRet = reg_create_key_and_value(hRootKey, openwith[i], NULL, "", flag); |
1532 } | 1532 } |
1533 | 1533 |
1534 return lRet; | 1534 return lRet; |
1535 } | 1535 } |