Fix unnecessary narrowing with proper return type

This commit is contained in:
kannibalox
2024-11-03 09:33:33 -05:00
committed by Jari Sundell
parent 8dd8d691c5
commit 36fd837d27
+1 -1
View File
@@ -97,7 +97,7 @@ element_access(const tinyxml2::XMLElement* elem, std::initializer_list<std::stri
return result;
}
uint64_t
long long
element_to_int(const tinyxml2::XMLNode* elem) {
char* pos;
if (elem->FirstChild() == nullptr) {