Merge pull request #1214 from rohit-n/format-warning

OGL: Silence string format warnings.
This commit is contained in:
skidau 2014-10-06 16:12:40 +11:00
commit 215685a6fe
1 changed files with 2 additions and 2 deletions

View File

@ -719,9 +719,9 @@ void Renderer::DrawDebugInfo()
debug_info += " - ";
if (SConfig::GetInstance().m_ShowFrameCount)
{
debug_info += StringFromFormat("Frame: %d", Movie::g_currentFrame);
debug_info += StringFromFormat("Frame: %lu", Movie::g_currentFrame);
if (Movie::IsPlayingInput())
debug_info += StringFromFormat(" / %d", Movie::g_totalFrames);
debug_info += StringFromFormat(" / %lu", Movie::g_totalFrames);
}
debug_info += "\n";