From 8b11e76835f25b9b43360b602b96d22c88355147 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Tue, 11 Feb 2014 23:38:29 +0100 Subject: [PATCH] Warning fix. --- src/gamebase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamebase.cpp b/src/gamebase.cpp index 3cc3787..be5f36d 100644 --- a/src/gamebase.cpp +++ b/src/gamebase.cpp @@ -47,7 +47,7 @@ namespace cloonel { ///------------------------------------------------------------------------ float GameBase::Exec() { const unsigned int time1 = SDL_GetTicks(); - const float delta = static_cast(time1 - m_time0) * 0.001; + const float delta = static_cast(time1 - m_time0) * 0.001f; m_time0 = time1; SDL_Renderer* const ren = m_sdlmain->GetRenderer();