Skip to content

Commit

Permalink
Merge pull request monero-project#8349
Browse files Browse the repository at this point in the history
026dbc8 Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
  • Loading branch information
luigi1111 committed May 23, 2022
2 parents 6e60919 + 026dbc8 commit 97271b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/epee/include/console_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 97271b7

Please sign in to comment.