summaryrefslogtreecommitdiff
path: root/rotord/src/tinyxml.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/tinyxml.h')
-rw-r--r--rotord/src/tinyxml.h4
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;
}