diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
commit | ef7e7319305f040a47c483b71f2e78da7a1d6149 (patch) | |
tree | 14ac10427d7c94288fcb198db5277455754589ae /src/test/testlauncher.cpp | |
parent | 12389c8441c748996962412201af9e21d66f9e55 (diff) | |
download | mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2 mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip |
Fix code style in other files.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index 584bdb5cb..09c7ef2ed 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -303,6 +303,6 @@ int TestLauncher::calcFps(const timeval *const start, const timeval *const end, if (mtime == 0) return 100000; - return static_cast<long>(calls) * 1000 / mtime; + return static_cast<int>(static_cast<long>(calls) * 1000 / mtime); } #endif |