1
0
forked from 0ad/0ad

Revert 649ff371b4 since it breaks 64-bit Linux, and the real problem is in the OS X build.

This was SVN commit r7032.
This commit is contained in:
Ykkrosh 2009-07-25 14:22:21 +00:00
parent 649ff371b4
commit 4409f18f59

View File

@ -174,7 +174,7 @@ void FixBrokenXML(const char* text, const char** out, size_t* outSize)
// Reserialising the document, then parsing it again inside FCollada, is a bit ugly;
// but it's the only way I can see to make it work through FCollada's public API
xmlChar* mem = NULL;
intptr_t size = -1;
int size = -1;
xmlDocDumpFormatMemory(doc, &mem, &size, 0);
*out = (const char*)mem;
*outSize = size;