summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-09-15 21:59:47 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-09-15 21:59:47 +0000
commitf10b51368000213a241305a582f0a822dde000d2 (patch)
tree6b4afae741bbe9199774f90ada637dc08ead9923 /tests
parent33764d5d5b83824c95f6bb7c2f13c1f3ebc1c27c (diff)
downloadATCD-f10b51368000213a241305a582f0a822dde000d2.tar.gz
ChangeLogTag: Sat Sep 15 16:58:08 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/High_Res_Timer_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/High_Res_Timer_Test.cpp b/tests/High_Res_Timer_Test.cpp
index b1c5c3dc0cc..5e1b3aab578 100644
--- a/tests/High_Res_Timer_Test.cpp
+++ b/tests/High_Res_Timer_Test.cpp
@@ -54,9 +54,9 @@ check_micro_nano (ACE_hrtime_t microinterval, ACE_hrtime_t nanointerval)
const u_int threshold = 8 /* promille */;
microinterval *= 1000u;
- const ACE_hrtime_t hr_difference = (microinterval > nanointerval ?
- microinterval - nanointerval :
- nanointerval - microinterval );
+ ACE_hrtime_t hr_difference = (microinterval > nanointerval ?
+ microinterval - nanointerval :
+ nanointerval - microinterval );
const u_int difference = ACE_U64_TO_U32 (hr_difference);
if (nanointerval == 0)
nanointerval = 1; // Prevent divide-by-zero