diff options
author | silinoron <none@none> | 2010-09-03 21:55:57 -0700 |
---|---|---|
committer | silinoron <none@none> | 2010-09-03 21:55:57 -0700 |
commit | 5179d3149a247a803da8f2b61c364a538f62fa2d (patch) | |
tree | 6e0df255bb9669efd9709c7f20aff721c2d06fba /src/server/shared/Utilities/Util.cpp | |
parent | 1e1c596dda54d1f13efc7d893c15d2d05b585711 (diff) |
Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)
--HG--
branch : trunk
Diffstat (limited to 'src/server/shared/Utilities/Util.cpp')
-rw-r--r-- | src/server/shared/Utilities/Util.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/shared/Utilities/Util.cpp b/src/server/shared/Utilities/Util.cpp index 68f25138a6a..27736e9ecda 100644 --- a/src/server/shared/Utilities/Util.cpp +++ b/src/server/shared/Utilities/Util.cpp @@ -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) |