Fix some warnings

This commit is contained in:
Tillmann Karras
2014-02-12 21:08:23 +01:00
parent 88526be3b5
commit 2ff794d299
4 changed files with 6 additions and 4 deletions

View File

@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <time.h>
#include <cinttypes>
#ifdef _WIN32
#include <Windows.h>
@ -113,7 +114,7 @@ std::string Timer::GetTimeElapsedFormatted() const
// Hours
u32 Hours = Minutes / 60;
std::string TmpStr = StringFromFormat("%02i:%02i:%02i:%03lu",
std::string TmpStr = StringFromFormat("%02i:%02i:%02i:%03" PRIu64,
Hours, Minutes % 60, Seconds % 60, Milliseconds % 1000);
return TmpStr;
}