- fix compile error on linux
This commit is contained in:
parent
06b9d7eef7
commit
c6a4e53151
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user