forked from 0ad/0ad
# 64-bit compile fix
(see http://www.wildfiregames.com/forum/index.php?showtopic=12448) This was SVN commit r7031.
This commit is contained in:
parent
21b3d13c64
commit
649ff371b4
@ -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;
|
||||
int size = -1;
|
||||
intptr_t size = -1;
|
||||
xmlDocDumpFormatMemory(doc, &mem, &size, 0);
|
||||
*out = (const char*)mem;
|
||||
*outSize = size;
|
||||
|
Loading…
Reference in New Issue
Block a user