diff options
| author | Comment <tim@gray.(none)> | 2013-12-08 10:55:03 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-12-08 10:55:03 +0000 |
| commit | 1d05d2380bb4f1fd265aef55744f432af38b08aa (patch) | |
| tree | 89c1c15497149951d4b99938ad932abde42eae14 /rotord/src/tinyxml.h | |
| parent | e04516069c71a5a1e32e6a5fbf0eb5b86dcfc5a2 (diff) | |
switched signals to double and random to uint16
Diffstat (limited to 'rotord/src/tinyxml.h')
| -rw-r--r-- | rotord/src/tinyxml.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/tinyxml.h b/rotord/src/tinyxml.h index 7958de5..e61528c 100644 --- a/rotord/src/tinyxml.h +++ b/rotord/src/tinyxml.h @@ -992,11 +992,11 @@ public: /// QueryDoubleAttribute examines the attribute - see QueryIntAttribute(). int QueryDoubleAttribute( const char* name, double* _value ) const; /// QueryFloatAttribute examines the attribute - see QueryIntAttribute(). - int QueryFloatAttribute( const char* name, float* _value ) const { + int QueryFloatAttribute( const char* name, double* _value ) const { double d; int result = QueryDoubleAttribute( name, &d ); if ( result == TIXML_SUCCESS ) { - *_value = (float)d; + *_value = (double)d; } return result; } |
