aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-05-23 14:37:42 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-05-23 14:37:42 -0500
commit97271b7d20d82695bce84495f59f76aafe4e04f3 (patch)
tree8a7e1481bd89416ca89fed7889d46c37fd93ad57 /contrib
parentMerge pull request #8315 (diff)
parentWindows build: fix narrowing error for WaitForSingleObject (diff)
downloadmonero-97271b7d20d82695bce84495f59f76aafe4e04f3.tar.xz
Merge pull request #8349
026dbc8 Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/console_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h
index 219b593b0..7115fce0c 100644
--- a/contrib/epee/include/console_handler.h
+++ b/contrib/epee/include/console_handler.h
@@ -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: