diff --git a/source/collada/XMLFix.cpp b/source/collada/XMLFix.cpp index 7938195926..b40adbb3fd 100644 --- a/source/collada/XMLFix.cpp +++ b/source/collada/XMLFix.cpp @@ -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;