forked from aniani/vim
patch 8.2.4289: warnings reported by MSVC
Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
This commit is contained in:
@@ -452,7 +452,7 @@ wait_for_single_object(
|
||||
HANDLE hHandle,
|
||||
DWORD dwMilliseconds)
|
||||
{
|
||||
if (read_console_input(NULL, NULL, -2, NULL))
|
||||
if (read_console_input(NULL, NULL, (DWORD)-2, NULL))
|
||||
return WAIT_OBJECT_0;
|
||||
return WaitForSingleObject(hHandle, dwMilliseconds);
|
||||
}
|
||||
@@ -724,7 +724,7 @@ dyn_libintl_init(void)
|
||||
for (i = 0; libintl_entry[i].name != NULL
|
||||
&& libintl_entry[i].ptr != NULL; ++i)
|
||||
{
|
||||
if ((*libintl_entry[i].ptr = (FARPROC)GetProcAddress(hLibintlDLL,
|
||||
if ((*libintl_entry[i].ptr = GetProcAddress(hLibintlDLL,
|
||||
libintl_entry[i].name)) == NULL)
|
||||
{
|
||||
dyn_libintl_end();
|
||||
|
Reference in New Issue
Block a user