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:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user