From 1d05d2380bb4f1fd265aef55744f432af38b08aa Mon Sep 17 00:00:00 2001 From: Comment Date: Sun, 8 Dec 2013 10:55:03 +0000 Subject: switched signals to double and random to uint16 --- rotord/src/tinyxml.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rotord/src/tinyxml.h') 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; } -- cgit v1.2.3