From 574c760b7f3a50694d7254ff8c9976601f07384b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20H=C3=B6pfinger?= Date: Thu, 30 May 2024 19:22:25 +0200 Subject: [PATCH] Update attribute query functions to use int32_t and uint32_t types. - Changed QueryAttribute parameter type from int* to int32_t* - Changed QueryAttribute parameter type from unsigned int* to uint32_t* --- tinyxml2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinyxml2.h b/tinyxml2.h index 120a0c6..60ae3b6 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -1432,11 +1432,11 @@ public: QueryAttribute( "foo", &value ); // if "foo" isn't found, value will still be 10 @endverbatim */ - XMLError QueryAttribute( const char* name, int* value ) const { + XMLError QueryAttribute( const char* name, int32_t* value ) const { return QueryIntAttribute( name, value ); } - XMLError QueryAttribute( const char* name, unsigned int* value ) const { + XMLError QueryAttribute( const char* name, uint32_t* value ) const { return QueryUnsignedAttribute( name, value ); }