mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
Merge pull request #4038 from sersoftin/fix/win-shared-library-error-text
Fixed Poco::format specifier for error code
This commit is contained in:
commit
a9ad113742
@ -55,7 +55,7 @@ void SharedLibraryImpl::loadImpl(const std::string& path, int /*flags*/)
|
||||
{
|
||||
DWORD errn = Error::last();
|
||||
std::string err;
|
||||
Poco::format(err, "Error %ul while loading [%s]: [%s]", errn, path, Poco::trim(Error::getMessage(errn)));
|
||||
Poco::format(err, "Error %lu while loading [%s]: [%s]", errn, path, Poco::trim(Error::getMessage(errn)));
|
||||
throw LibraryLoadException(err);
|
||||
}
|
||||
_path = path;
|
||||
|
Loading…
Reference in New Issue
Block a user