mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 03:06:29 +00:00
huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for wchar_t* This was SVN commit r7161.
This commit is contained in:
@@ -166,7 +166,7 @@ void FixBrokenXML(const char* text, const char** out, size_t* outSize)
|
||||
Log(LOG_INFO, "Running FixBrokenXML");
|
||||
|
||||
size_t textSize = strlen(text);
|
||||
xmlDocPtr doc = xmlParseMemory(text, textSize);
|
||||
xmlDocPtr doc = xmlParseMemory(text, (int)textSize);
|
||||
|
||||
xmlNode* root = xmlDocGetRootElement(doc);
|
||||
if (root && processDocument(root))
|
||||
|
||||
Reference in New Issue
Block a user