Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)

--HG--
branch : trunk
This commit is contained in:
silinoron committed 2010-09-03 21:55:57 -07:00
1 parent 1e1c596dda
commit 5179d3149a
20 files changed
+69 -57

No files matched your search

+5 -5
View File
@@ -141,12 +141,12 @@ void stripLineInvisibleChars(std::string &str)
}
std::string secsToTimeString(uint32 timeInSecs, bool shortText, bool hoursOnly)
std::string secsToTimeString(uint64 timeInSecs, bool shortText, bool hoursOnly)
{
uint32 secs = timeInSecs % MINUTE;
uint32 minutes = timeInSecs % HOUR / MINUTE;
uint32 hours = timeInSecs % DAY / HOUR;
uint32 days = timeInSecs / DAY;
uint64 secs = timeInSecs % MINUTE;
uint64 minutes = timeInSecs % HOUR / MINUTE;
uint64 hours = timeInSecs % DAY / HOUR;
uint64 days = timeInSecs / DAY;
std::ostringstream ss;
if(days)