summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-04 22:13:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-04 22:13:38 +0300
commitebd78a883cba4d555500ece5d77f3ebd88e329ae (patch)
treebfda5dc36aa212c30baae4b95ce7c9f481005bfb /src/test/testlauncher.cpp
parent62a6042d722c3da19146180fe0aeacecafb5c0e6 (diff)
downloadmanaverse-ebd78a883cba4d555500ece5d77f3ebd88e329ae.tar.gz
manaverse-ebd78a883cba4d555500ece5d77f3ebd88e329ae.tar.bz2
manaverse-ebd78a883cba4d555500ece5d77f3ebd88e329ae.tar.xz
manaverse-ebd78a883cba4d555500ece5d77f3ebd88e329ae.zip
Fix code style.
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 b6acf017a..244f8b8fd 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -478,7 +478,7 @@ int TestLauncher::testDyeSpeed()
clock_gettime(CLOCK_MONOTONIC, &time2);
long diff = ((static_cast<long int>(time2.tv_sec) * 1000000000L
- + static_cast<long int>(time2.tv_nsec)) / 1) -
+ + static_cast<long int>(time2.tv_nsec)) / 1) -
((static_cast<long int>(time1.tv_sec) * 1000000000L
+ static_cast<long int>(time1.tv_nsec)) / 1);
printf("time: %ld\n", diff);