- fix compile error on linux

This commit is contained in:
Mark Vejvoda 2010-10-21 15:35:13 +00:00
parent 06b9d7eef7
commit c6a4e53151
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ typedef Uint16 uint16;
typedef Sint32 int32;
typedef Uint32 uint32;
typedef Sint64 int64;
typedef Uint64 uint64;
}}//end namespace

View File

@ -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;