From 59d24ab3e5ebb9fdac8bc63cfb400c48d2c958b0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 5 Sep 2003 06:59:15 +0000 Subject: [PATCH] Fix warning. --- stepmania/src/LifeMeterBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/LifeMeterBar.cpp b/stepmania/src/LifeMeterBar.cpp index ab72357b50..dae4aee084 100644 --- a/stepmania/src/LifeMeterBar.cpp +++ b/stepmania/src/LifeMeterBar.cpp @@ -549,7 +549,7 @@ void LifeMeterBar::UpdateNonstopLifebar(const int cleared, // about 20% of your lifebar); at 0.2 it would be 40%, which // is too harsh at one difficulty level higher. Override. - int m_iLifeDifficulty = ((1.8 - m_fLifeDifficulty)/0.2); + int m_iLifeDifficulty = int((1.8f - m_fLifeDifficulty)/0.2f); // first eight values don't matter float DifficultyValues[16] = {0,0,0,0,0,0,0,0,