mirror of
https://github.com/leethomason/tinyxml2.git
synced 2026-07-26 13:42:59 +04:00
Update attribute handling to use int32_t and uint32_t types.
The commit changes the attribute handling in the code to utilize int32_t and uint32_t types for better consistency and compatibility.
This commit is contained in:
+2
-2
@@ -2777,7 +2777,7 @@ void XMLPrinter::PushAttribute( const char* name, const char* value )
|
||||
}
|
||||
|
||||
|
||||
void XMLPrinter::PushAttribute( const char* name, int v )
|
||||
void XMLPrinter::PushAttribute( const char* name, int32_t v )
|
||||
{
|
||||
char buf[BUF_SIZE];
|
||||
XMLUtil::ToStr( v, buf, BUF_SIZE );
|
||||
@@ -2785,7 +2785,7 @@ void XMLPrinter::PushAttribute( const char* name, int v )
|
||||
}
|
||||
|
||||
|
||||
void XMLPrinter::PushAttribute( const char* name, unsigned v )
|
||||
void XMLPrinter::PushAttribute( const char* name, uint32_t v )
|
||||
{
|
||||
char buf[BUF_SIZE];
|
||||
XMLUtil::ToStr( v, buf, BUF_SIZE );
|
||||
|
||||
Reference in New Issue
Block a user