Merge pull request #4797 from lioncash/cast

RenderBase: Get rid of unnecessary casts
This commit is contained in:
Matthew Parlane 2017-02-01 17:18:12 +13:00 committed by GitHub
commit a9627ac881
1 changed files with 3 additions and 4 deletions

View File

@ -322,11 +322,10 @@ void Renderer::DrawDebugText()
final_cyan += " - ";
if (SConfig::GetInstance().m_ShowFrameCount)
{
final_cyan += StringFromFormat("Frame: %llu", (unsigned long long)Movie::GetCurrentFrame());
final_cyan += StringFromFormat("Frame: %" PRIu64, Movie::GetCurrentFrame());
if (Movie::IsPlayingInput())
final_cyan += StringFromFormat("\nInput: %llu / %llu",
(unsigned long long)Movie::GetCurrentInputCount(),
(unsigned long long)Movie::GetTotalInputCount());
final_cyan += StringFromFormat("\nInput: %" PRIu64 " / %" PRIu64,
Movie::GetCurrentInputCount(), Movie::GetTotalInputCount());
}
final_cyan += "\n";