mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 00:48:55 +00:00
Merge pull request #8349
026dbc8
Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
This commit is contained in:
commit
97271b7d20
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user