From 053f27d3f47aba80840e781cd7f55aaadfe8b399 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 23 May 2004 00:57:26 +0000 Subject: [PATCH] fix warning --- stepmania/src/Course.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index a24101f636..e3117bb326 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -872,7 +872,7 @@ float Course::GetMeter( StepsType nt, CourseDifficulty cd ) const { /* If we have a manually-entered meter for this difficulty, use it. */ if( m_iCustomMeter[cd] != -1 ) - return m_iCustomMeter[cd]; + return (float)m_iCustomMeter[cd]; return roundf( GetTrail(nt,cd)->GetAverageMeter() ); }