mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-24 02:08:43 +00:00
Fix some warnings
This commit is contained in:
parent
88526be3b5
commit
2ff794d299
4 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue