summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
commitef7e7319305f040a47c483b71f2e78da7a1d6149 (patch)
tree14ac10427d7c94288fcb198db5277455754589ae /src/test/testlauncher.cpp
parent12389c8441c748996962412201af9e21d66f9e55 (diff)
downloadplus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz
plus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2
plus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz
plus-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip
Fix code style in other files.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r--src/test/testlauncher.cpp2
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