diff options
| author | Matthew Parlane <parlane@gmail.com> | 2014-02-07 01:38:08 +1300 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2014-02-07 01:38:08 +1300 |
| commit | 70d2592ffbbb2252d5ac998ce4d3200175a5951c (patch) | |
| tree | c60d5a3545ed76271bfbbc5ed2ea416bdb13ad73 /Source/Core/Common/Timer.cpp | |
| parent | 09cc7e2ddfa40190172eb38d4448c35f5e761cdb (diff) | |
Fix warnings found by StringFromFormat having printf style checking.
Diffstat (limited to 'Source/Core/Common/Timer.cpp')
| -rw-r--r-- | Source/Core/Common/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Timer.cpp b/Source/Core/Common/Timer.cpp index b7ae848970..267755fb17 100644 --- a/Source/Core/Common/Timer.cpp +++ b/Source/Core/Common/Timer.cpp @@ -113,7 +113,7 @@ std::string Timer::GetTimeElapsedFormatted() const // Hours u32 Hours = Minutes / 60; - std::string TmpStr = StringFromFormat("%02i:%02i:%02i:%03i", + std::string TmpStr = StringFromFormat("%02i:%02i:%02i:%03lu", Hours, Minutes % 60, Seconds % 60, Milliseconds % 1000); return TmpStr; } |
