Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:metakcahura
p7zip-gui
_service:download_files:gcc10-conversion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_files:gcc10-conversion.patch of Package p7zip-gui
diff -Nrup a/CPP/Windows/ErrorMsg.cpp b/CPP/Windows/ErrorMsg.cpp --- a/CPP/Windows/ErrorMsg.cpp 2015-01-18 11:20:28.000000000 -0700 +++ b/CPP/Windows/ErrorMsg.cpp 2019-09-24 13:01:18.887289152 -0600 @@ -14,14 +14,14 @@ UString MyFormatMessage(DWORD errorCode) AString msg; switch(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 ; - case E_ABORT : txt = "E_ABORT"; break ; - case E_FAIL : txt = "E_FAIL"; break ; - case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ; - case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ; - case E_INVALIDARG : txt = "E_INVALIDARG"; break ; + case unsigned (ERROR_NO_MORE_FILES) : txt = "No more files"; break ; + case unsigned (E_NOTIMPL) : txt = "E_NOTIMPL"; break ; + case unsigned (E_NOINTERFACE) : txt = "E_NOINTERFACE"; break ; + case unsigned (E_ABORT) : txt = "E_ABORT"; break ; + case unsigned (E_FAIL) : txt = "E_FAIL"; break ; + case unsigned (STG_E_INVALIDFUNCTION) : txt = "STG_E_INVALIDFUNCTION"; break ; + case unsigned (E_OUTOFMEMORY) : txt = "E_OUTOFMEMORY"; break ; + case unsigned (E_INVALIDARG) : txt = "E_INVALIDARG"; break ; case ERROR_DIRECTORY : txt = "Error Directory"; break ; default: txt = strerror(errorCode);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor