From 693052afe4ef0e273f9b03f09a38220ef424c57e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20H=C3=B6pfinger?= Date: Thu, 30 May 2024 20:19:13 +0200 Subject: [PATCH] Update integer types to int32_t and uint32_t for better clarity and consistency. --- tinyxml2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 3ea4f4f..abb7f40 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -1869,14 +1869,14 @@ XMLError XMLElement::QueryFloatText( float* fval ) const int XMLElement::IntText(int defaultValue) const { - int i = defaultValue; + int32_t i = defaultValue; QueryIntText(&i); return i; } unsigned XMLElement::UnsignedText(unsigned defaultValue) const { - unsigned i = defaultValue; + uint32_t i = defaultValue; QueryUnsignedText(&i); return i; }