diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2014-02-12 21:08:23 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2014-02-13 09:02:43 +0100 |
| commit | 2ff794d299b0426d1f2a523523260efad84a9837 (patch) | |
| tree | 8dc4d420975cbbdec1bf02d878d3682effe7bea0 /Source/Core/Common/Timer.cpp | |
| parent | 88526be3b5cfc33436d4390935d7982c4795520a (diff) | |
Fix some warnings
Diffstat (limited to 'Source/Core/Common/Timer.cpp')
| -rw-r--r-- | Source/Core/Common/Timer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Common/Timer.cpp b/Source/Core/Common/Timer.cpp index 91a2a2d3ad..a2e08bbf1d 100644 --- a/Source/Core/Common/Timer.cpp +++ b/Source/Core/Common/Timer.cpp @@ -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; } |
