diff options
author | Max Horn | 2004-12-27 17:30:08 +0000 |
---|---|---|
committer | Max Horn | 2004-12-27 17:30:08 +0000 |
commit | e9f1ff4d08ada954f964788b933fcd19d17b912f (patch) | |
tree | ba07f085ff40e5ffe6b28798637562f688f05c12 /backends/PalmOS/Src | |
parent | 29e367a063c6d0b3ef8a264fd856ecbfa212b922 (diff) | |
download | scummvm-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
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r-- | backends/PalmOS/Src/palm.cpp | 2 |
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; } |