diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h index 23659cbc120..7e151975943 100644 --- a/contrib/epee/include/console_handler.h +++ b/contrib/epee/include/console_handler.h @@ -179,7 +179,7 @@ namespace epee #else while (m_run.load(std::memory_order_relaxed)) { - int retval = ::WaitForSingleObject(::GetStdHandle(STD_INPUT_HANDLE), 100); + DWORD retval = ::WaitForSingleObject(::GetStdHandle(STD_INPUT_HANDLE), 100); switch (retval) { case WAIT_FAILED: