Warning fix.

This commit is contained in:
King_DuckZ 2014-02-11 23:38:29 +01:00
parent ed4e73f0d9
commit 8b11e76835

View file

@ -47,7 +47,7 @@ namespace cloonel {
///------------------------------------------------------------------------ ///------------------------------------------------------------------------
float GameBase::Exec() { float GameBase::Exec() {
const unsigned int time1 = SDL_GetTicks(); const unsigned int time1 = SDL_GetTicks();
const float delta = static_cast<float>(time1 - m_time0) * 0.001; const float delta = static_cast<float>(time1 - m_time0) * 0.001f;
m_time0 = time1; m_time0 = time1;
SDL_Renderer* const ren = m_sdlmain->GetRenderer(); SDL_Renderer* const ren = m_sdlmain->GetRenderer();