From ed2613dfc59ea4dc782f8c7db63433c5faa2403b Mon Sep 17 00:00:00 2001 From: Sergey Detsina Date: Sun, 21 May 2023 10:40:20 +0300 Subject: [PATCH] Fixed Poco::format specifier for error code --- Foundation/src/SharedLibrary_WIN32U.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/src/SharedLibrary_WIN32U.cpp b/Foundation/src/SharedLibrary_WIN32U.cpp index ff56a8844..6ecd4e953 100644 --- a/Foundation/src/SharedLibrary_WIN32U.cpp +++ b/Foundation/src/SharedLibrary_WIN32U.cpp @@ -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;