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

Update integer types to int32_t and uint32_t for better clarity and consistency.

This commit is contained in:
Franz Höpfinger
2024-05-30 20:19:13 +02:00
parent 42875a9f60
commit 693052afe4
+2 -2
View File
@@ -1869,14 +1869,14 @@ XMLError XMLElement::QueryFloatText( float* fval ) const
int XMLElement::IntText(int defaultValue) const
{
int i = defaultValue;
int32_t i = defaultValue;
QueryIntText(&i);
return i;
}
unsigned XMLElement::UnsignedText(unsigned defaultValue) const
{
unsigned i = defaultValue;
uint32_t i = defaultValue;
QueryUnsignedText(&i);
return i;
}