From b81159c5e2451e75e3fef7d8d311653458438e8c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 10 Feb 2004 09:48:43 +0000 Subject: [PATCH] fix warning --- stepmania/src/XmlFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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