mirror of
https://github.com/leethomason/tinyxml2.git
synced 2026-07-21 19:23:00 +04:00
Update attribute query functions to use int32_t and uint32_t types.
- Changed QueryAttribute parameter type from int* to int32_t* - Changed QueryAttribute parameter type from unsigned int* to uint32_t*
This commit is contained in:
+2
-2
@@ -1432,11 +1432,11 @@ public:
|
||||
QueryAttribute( "foo", &value ); // if "foo" isn't found, value will still be 10
|
||||
@endverbatim
|
||||
*/
|
||||
XMLError QueryAttribute( const char* name, int* value ) const {
|
||||
XMLError QueryAttribute( const char* name, int32_t* value ) const {
|
||||
return QueryIntAttribute( name, value );
|
||||
}
|
||||
|
||||
XMLError QueryAttribute( const char* name, unsigned int* value ) const {
|
||||
XMLError QueryAttribute( const char* name, uint32_t* value ) const {
|
||||
return QueryUnsignedAttribute( name, value );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user