mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 05:13:59 +02:00
- fix compile error on linux
This commit is contained in:
@@ -32,6 +32,7 @@ typedef Uint16 uint16;
|
||||
typedef Sint32 int32;
|
||||
typedef Uint32 uint32;
|
||||
typedef Sint64 int64;
|
||||
typedef Uint64 uint64;
|
||||
|
||||
}}//end namespace
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user