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

Update attribute setting functions to use specific integer types

The commit changes the attribute setting functions in both the .cpp and .h files to use 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:27:26 +02:00
parent 693052afe4
commit 5e27269c04
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1226,9 +1226,9 @@ public:
/// Set the attribute to a string value.
void SetAttribute( const char* value );
/// Set the attribute to value.
void SetAttribute( int value );
void SetAttribute(int32_t value );
/// Set the attribute to value.
void SetAttribute( unsigned value );
void SetAttribute( uint32_t value );
/// Set the attribute to value.
void SetAttribute(int64_t value);
/// Set the attribute to value.