Fixed compiler warning.

This commit is contained in:
hiker 2015-03-30 09:12:00 +11:00
parent c08b898742
commit 1971254a7f

View File

@ -692,7 +692,7 @@ void SFXManager::reallyUpdateNow(SFXCommand *current)
double previous_update_time = m_last_update_time;
m_last_update_time = StkTime::getRealTime();
double dt = m_last_update_time - previous_update_time;
float dt = float(m_last_update_time - previous_update_time);
assert(current->m_command==SFX_UPDATE);
if (music_manager->getCurrentMusic())