minor fixes
This was SVN commit r7494.
This commit is contained in:
parent
9864da20fc
commit
3972134de9
@ -207,7 +207,7 @@ PSRETURN CXeromyces::LoadString(const char* xml)
|
||||
{
|
||||
debug_assert(g_XeromycesStarted);
|
||||
|
||||
xmlDocPtr doc = xmlReadMemory(xml, strlen(xml), "", NULL, XML_PARSE_NONET|XML_PARSE_NOCDATA);
|
||||
xmlDocPtr doc = xmlReadMemory(xml, (int)strlen(xml), "", NULL, XML_PARSE_NONET|XML_PARSE_NOCDATA);
|
||||
if (! doc)
|
||||
{
|
||||
LOG(CLogger::Error, LOG_CATEGORY, L"CXeromyces: Failed to parse XML string");
|
||||
|
@ -119,7 +119,7 @@ static void HandleError(const std::wstring& message, const VfsPath& pathname, Li
|
||||
{
|
||||
if(err == ERR::AGAIN)
|
||||
return; // open failed because sound is disabled (don't log this)
|
||||
LOG(CLogger::Error, LOG_CATEGORY, L"%ws: pathname=%ws, error=%ld", message.c_str(), pathname.string().c_str(), err);
|
||||
LOG(CLogger::Error, LOG_CATEGORY, L"%ls: pathname=%ls, error=%ld", message.c_str(), pathname.string().c_str(), err);
|
||||
}
|
||||
|
||||
void CSoundGroup::PlayNext(const CVector3D& position)
|
||||
|
Loading…
Reference in New Issue
Block a user