1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 15:13:01 +04:00

Update PushText functions to use specific integer types

The commit changes the PushText functions in both the .cpp and .h files to utilize int32_t and uint32_t instead of int and unsigned for better type specificity.
This commit is contained in:
Franz Höpfinger
2024-05-30 20:05:52 +02:00
parent 8fed517e5d
commit ef185a8f85
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2270,9 +2270,9 @@ public:
/// Add a text node.
void PushText( const char* text, bool cdata=false );
/// Add a text node from an integer.
void PushText( int value );
void PushText( int32_t value );
/// Add a text node from an unsigned.
void PushText( unsigned value );
void PushText( uint32_t value );
/// Add a text node from a signed 64bit integer.
void PushText( int64_t value );
/// Add a text node from an unsigned 64bit integer.