1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-27 22:23:00 +04:00

Update SetText method parameters to use int32_t and uint32_t.

This change updates the SetText method in both the .cpp and .h files to use int32_t and uint32_t types for better consistency and clarity.
This commit is contained in:
Franz Höpfinger
2024-05-30 19:53:50 +02:00
parent e269b2e91f
commit 8fed517e5d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1723,7 +1723,7 @@ void XMLElement::SetText( const char* inText )
}
void XMLElement::SetText( int v )
void XMLElement::SetText( int32_t v )
{
char buf[BUF_SIZE];
XMLUtil::ToStr( v, buf, BUF_SIZE );
@@ -1731,7 +1731,7 @@ void XMLElement::SetText( int v )
}
void XMLElement::SetText( unsigned v )
void XMLElement::SetText( uint32_t v )
{
char buf[BUF_SIZE];
XMLUtil::ToStr( v, buf, BUF_SIZE );