mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 06:01:17 +02:00
- cleaned up more compiler warnings
- added unsigned 64 bit type for windows
This commit is contained in:
@@ -31,6 +31,7 @@ typedef unsigned short int uint16;
|
||||
typedef int int32;
|
||||
typedef unsigned int uint32;
|
||||
typedef long long int64;
|
||||
typedef unsigned long long uint64;
|
||||
|
||||
}}//end namespace
|
||||
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include <xercesc/util/PlatformUtils.hpp>
|
||||
#include <xercesc/framework/LocalFileFormatTarget.hpp>
|
||||
#include "util.h"
|
||||
#include "types.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
|
||||
@@ -41,7 +42,7 @@ public:
|
||||
char msgStr[strSize], fileStr[strSize];
|
||||
XMLString::transcode(domError.getMessage(), msgStr, strSize-1);
|
||||
XMLString::transcode(domError.getLocation()->getURI(), fileStr, strSize-1);
|
||||
uint64 lineNumber= domError.getLocation()->getLineNumber();
|
||||
Shared::Platform::uint64 lineNumber= domError.getLocation()->getLineNumber();
|
||||
throw runtime_error("Error parsing XML, file: " + string(fileStr) + ", line: " + intToStr(lineNumber) + ": " + string(msgStr));
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user