Fix compiler error

This commit is contained in:
Daniel Marjamäki 2021-05-01 18:57:10 +02:00
parent e6d1b44758
commit e03ef93ed7
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ static std::string readAttrString(const tinyxml2::XMLElement *e, const char *att
static long long readAttrInt(const tinyxml2::XMLElement *e, const char *attr, bool *error) static long long readAttrInt(const tinyxml2::XMLElement *e, const char *attr, bool *error)
{ {
int64_t value = 0; int64_t value = 0;
bool err = (e->QueryInt64Attribute(attr, &value) != XML_SUCCESS); bool err = (e->QueryInt64Attribute(attr, &value) != tinyxml2::XML_SUCCESS);
if (error) if (error)
*error = err; *error = err;
return value; return value;