diff options
| author | LPFaint99 <lpfaint99@gmail.com> | 2009-03-07 08:07:11 +0000 |
|---|---|---|
| committer | LPFaint99 <lpfaint99@gmail.com> | 2009-03-07 08:07:11 +0000 |
| commit | f0431631a8a384ee0ff2c8bff2690ea56bde7d3b (patch) | |
| tree | bb7be69519e9fd164f2f717dadcd48775f8525ea /Source/Core/Common/Src/Timer.cpp | |
| parent | 251179b00b4cef9f8843da23ed9e96369271d77b (diff) | |
fix some gcc warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2590 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Timer.cpp')
| -rw-r--r-- | Source/Core/Common/Src/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/Timer.cpp b/Source/Core/Common/Src/Timer.cpp index ef1861b7b3..903133640f 100644 --- a/Source/Core/Common/Src/Timer.cpp +++ b/Source/Core/Common/Src/Timer.cpp @@ -196,7 +196,7 @@ std::string Timer::GetTimeFormatted() struct timeb tp; (void)::ftime(&tp); char temp[32]; - sprintf(temp, "%02hi:%02i:%03i", tp.time/60, tp.time%60, tp.millitm); + sprintf(temp, "%02ld:%02ld:%03i", tp.time/60, tp.time%60, tp.millitm); return std::string(temp); } |
