mirror of
https://github.com/glest/glest-source.git
synced 2025-08-24 08:52:49 +02:00
- fix compile error on linux
This commit is contained in:
@@ -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