diff --git a/source/shared_lib/include/platform/sdl/types.h b/source/shared_lib/include/platform/sdl/types.h index 84646f04..8e316d62 100644 --- a/source/shared_lib/include/platform/sdl/types.h +++ b/source/shared_lib/include/platform/sdl/types.h @@ -32,6 +32,7 @@ typedef Uint16 uint16; typedef Sint32 int32; typedef Uint32 uint32; typedef Sint64 int64; +typedef Uint64 uint64; }}//end namespace diff --git a/source/shared_lib/sources/xml/xml_parser.cpp b/source/shared_lib/sources/xml/xml_parser.cpp index 3d4cf941..07dbee37 100644 --- a/source/shared_lib/sources/xml/xml_parser.cpp +++ b/source/shared_lib/sources/xml/xml_parser.cpp @@ -41,7 +41,7 @@ public: char msgStr[strSize], fileStr[strSize]; XMLString::transcode(domError.getMessage(), msgStr, strSize-1); XMLString::transcode(domError.getLocation()->getURI(), fileStr, strSize-1); - XMLFileLoc lineNumber= domError.getLocation()->getLineNumber(); + uint64 lineNumber= domError.getLocation()->getLineNumber(); throw runtime_error("Error parsing XML, file: " + string(fileStr) + ", line: " + intToStr(lineNumber) + ": " + string(msgStr)); } return true;