Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[win32] Win32DllLoader::Load: use correct format for error number

  • Loading branch information...
commit 7ec5ceccf4f6442d2fe08b0ac2a22ff27ccad94b 1 parent f2b3549
@Karlson2k Karlson2k authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/cores/DllLoader/Win32DllLoader.cpp
View
4 xbmc/cores/DllLoader/Win32DllLoader.cpp
@@ -171,10 +171,10 @@ bool Win32DllLoader::Load()
{
std::string strMessage;
g_charsetConverter.wToUTF8(std::wstring(lpMsgBuf, strLen), strMessage);
- CLog::Log(LOGERROR, "%s: Failed to load \"%s\" with error %d: \"%s\"", __FUNCTION__, CSpecialProtocol::TranslatePath(strFileName).c_str(), dw, strMessage);
+ CLog::Log(LOGERROR, "%s: Failed to load \"%s\" with error %lu: \"%s\"", __FUNCTION__, CSpecialProtocol::TranslatePath(strFileName).c_str(), dw, strMessage);
}
else
- CLog::Log(LOGERROR, "%s: Failed to load \"%s\" with error %d", __FUNCTION__, CSpecialProtocol::TranslatePath(strFileName).c_str(), dw);
+ CLog::Log(LOGERROR, "%s: Failed to load \"%s\" with error %lu", __FUNCTION__, CSpecialProtocol::TranslatePath(strFileName).c_str(), dw);
LocalFree(lpMsgBuf);
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.