From OpenBSD. (Thanks to Rafael Sadowski and Björn Ketelaars.)
--- CPP/Windows/ErrorMsg.cpp.orig Sun Jan 18 13:20:28 2015 +++ CPP/Windows/ErrorMsg.cpp Wed Apr 11 06:48:24 2018 @@ -13,7 +13,7 @@ const char * txt = 0; AString msg; - switch(errorCode) { + switch(static_cast<int>(errorCode)) { case ERROR_NO_MORE_FILES : txt = "No more files"; break ; case E_NOTIMPL : txt = "E_NOTIMPL"; break ; case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ;
Log in to post a comment.
From OpenBSD. (Thanks to Rafael Sadowski and Björn Ketelaars.)
Last edit: Josh 2018-04-11