aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-12-27 17:30:08 +0000
committerMax Horn2004-12-27 17:30:08 +0000
commite9f1ff4d08ada954f964788b933fcd19d17b912f (patch)
treeba07f085ff40e5ffe6b28798637562f688f05c12
parent29e367a063c6d0b3ef8a264fd856ecbfa212b922 (diff)
downloadscummvm-rg350-e9f1ff4d08ada954f964788b933fcd19d17b912f.tar.gz
scummvm-rg350-e9f1ff4d08ada954f964788b933fcd19d17b912f.tar.bz2
scummvm-rg350-e9f1ff4d08ada954f964788b933fcd19d17b912f.zip
Reduce potential loss of precision if SysTicksPerSecond does not divide 1000
svn-id: r16342
-rw-r--r--backends/PalmOS/Src/palm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp
index b7cecb341f..fd03c9626b 100644
--- a/backends/PalmOS/Src/palm.cpp
+++ b/backends/PalmOS/Src/palm.cpp
@@ -44,7 +44,7 @@ OSystem *OSystem_PALMOS::create() {
uint32 OSystem_PALMOS::getMillis() {
uint32 ticks = TimGetTicks();
- ticks *= (1000/SysTicksPerSecond());
+ ticks = ticks * 1000 / SysTicksPerSecond();
return ticks;
}