Don't pass u64 (which may be long long) to %lu.
A type-safe StringFromFormat sure would be nice...
This commit is contained in:
parent
d4e8e3a6a3
commit
5b8722b6f2
|
@ -719,9 +719,9 @@ void Renderer::DrawDebugInfo()
|
|||
debug_info += " - ";
|
||||
if (SConfig::GetInstance().m_ShowFrameCount)
|
||||
{
|
||||
debug_info += StringFromFormat("Frame: %lu", Movie::g_currentFrame);
|
||||
debug_info += StringFromFormat("Frame: %llu", (unsigned long long) Movie::g_currentFrame);
|
||||
if (Movie::IsPlayingInput())
|
||||
debug_info += StringFromFormat(" / %lu", Movie::g_totalFrames);
|
||||
debug_info += StringFromFormat(" / %llu", (unsigned long long) Movie::g_totalFrames);
|
||||
}
|
||||
|
||||
debug_info += "\n";
|
||||
|
|
Loading…
Reference in New Issue