summaryrefslogtreecommitdiff
path: root/ACE/tests/NDDS_Timer_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-03-29 13:33:41 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-03-29 13:33:41 +0000
commit1da9fc2cafb03e40445b37aacf7ba4258290f90d (patch)
tree1cab4f56e3ff13e61da5bf25f094eee39f10f669 /ACE/tests/NDDS_Timer_Test.cpp
parent8203b41700ed99aba66177699764350f5203d385 (diff)
downloadATCD-1da9fc2cafb03e40445b37aacf7ba4258290f90d.tar.gz
Diffstat (limited to 'ACE/tests/NDDS_Timer_Test.cpp')
-rw-r--r--ACE/tests/NDDS_Timer_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/NDDS_Timer_Test.cpp b/ACE/tests/NDDS_Timer_Test.cpp
index 4d205974d1d..b56471cb708 100644
--- a/ACE/tests/NDDS_Timer_Test.cpp
+++ b/ACE/tests/NDDS_Timer_Test.cpp
@@ -166,8 +166,8 @@ run_main (int argc, ACE_TCHAR *argv[])
if (intervals[i] > TIMER_RESOLUTION)
{
- errors += check (interval.sec * ACE_ONE_SECOND_IN_USECS
- + interval.nanosec / 1000,
+ errors += check (interval.sec () * ACE_ONE_SECOND_IN_USECS
+ + interval.usec (),
sec * ACE_ONE_SECOND_IN_USECS + microseconds);
// Don't check for error for intervals below 10 msec.
}