mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Windows build: fix narrowing error for WaitForSingleObject
`WaitForSingleObject` returns a `DWORD`, not an int, so assign `retval` as such and it should fix the error.
This commit is contained in:
parent
6e60919e6d
commit
026dbc89bf
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ namespace epee
|
|||
if (m_read_status == state_cancelled)
|
||||
return false;
|
||||
|
||||
int retval = ::WaitForSingleObject(::GetStdHandle(STD_INPUT_HANDLE), 100);
|
||||
DWORD retval = ::WaitForSingleObject(::GetStdHandle(STD_INPUT_HANDLE), 100);
|
||||
switch (retval)
|
||||
{
|
||||
case WAIT_FAILED:
|
||||
|
|
Loading…
Reference in a new issue