mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
fix some gcc warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2590 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
251179b00b
commit
f0431631a8
15 changed files with 33 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue