Merge pull request #8349

026dbc8 Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
This commit is contained in:
luigi1111 2022-05-23 14:37:42 -05:00
commit 97271b7d20
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ namespace epee
if (m_read_status == state_cancelled) if (m_read_status == state_cancelled)
return false; return false;
int retval = ::WaitForSingleObject(::GetStdHandle(STD_INPUT_HANDLE), 100); DWORD retval = ::WaitForSingleObject(::GetStdHandle(STD_INPUT_HANDLE), 100);
switch (retval) switch (retval)
{ {
case WAIT_FAILED: case WAIT_FAILED: