Fix format string warnings

This commit is contained in:
Tillmann Karras committed 2013-11-13 04:01:16 +01:00
1 parent 39ad5a2f7a
commit 268bdf19ce
24 files changed
+75 -41

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@
#include <vector>
#include <cmath>
#include <cstdio>
#include <cinttypes>
#include "GLUtil.h"
#if defined(HAVE_WX) && HAVE_WX
@@ -709,7 +710,7 @@ void Renderer::DrawDebugInfo()
p+=sprintf(p, "FPS: %d\n", s_fps);
if (SConfig::GetInstance().m_ShowLag)
p+=sprintf(p, "Lag: %llu\n", Movie::g_currentLagCount);
p+=sprintf(p, "Lag: %" PRIu64 "\n", Movie::g_currentLagCount);
if (g_ActiveConfig.bShowInputDisplay)
p+=sprintf(p, "%s", Movie::GetInputDisplay().c_str());