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:
LPFaint99
2009-03-07 08:07:11 +00:00
parent 251179b00b
commit f0431631a8
15 changed files with 33 additions and 20 deletions

View File

@ -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);
}