diff --git a/stepmania/src/XmlFile.h b/stepmania/src/XmlFile.h index 4ec119cb74..5717904b1b 100644 --- a/stepmania/src/XmlFile.h +++ b/stepmania/src/XmlFile.h @@ -125,7 +125,7 @@ typedef struct _tagXMLNode CString value; void GetValue(CString &out) { out = value; } void GetValue(int &out) { out = atoi(value); } - void GetValue(float &out) { out = atof(value); } + void GetValue(float &out) { out = (float) atof(value); } // internal variables LPXNode parent; // parent node