Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[win32] Win32DllLoader::Load: convert to C-string for log

strange that it works even as std::string
  • Loading branch information...
commit ef79c1da5796e39a9ef9527657d17d6900bb004f 1 parent 7ec5cec
@Karlson2k Karlson2k authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cores/DllLoader/Win32DllLoader.cpp
View
2  xbmc/cores/DllLoader/Win32DllLoader.cpp
@@ -171,7 +171,7 @@ bool Win32DllLoader::Load()
{
std::string strMessage;
g_charsetConverter.wToUTF8(std::wstring(lpMsgBuf, strLen), strMessage);
- CLog::Log(LOGERROR, "%s: Failed to load \"%s\" with error %lu: \"%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.c_str());
}
else
CLog::Log(LOGERROR, "%s: Failed to load \"%s\" with error %lu", __FUNCTION__, CSpecialProtocol::TranslatePath(strFileName).c_str(), dw);
Please sign in to comment.
Something went wrong with that request. Please try again.