summaryrefslogtreecommitdiff
path: root/ACE/tests/NDDS_Timer_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-03-29 13:33:01 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-03-29 13:33:01 +0000
commit8203b41700ed99aba66177699764350f5203d385 (patch)
tree152fbacb402fe3deb18f98ba571a2df4fbeb06dc /ACE/tests/NDDS_Timer_Test.cpp
parent9d0c33ec660737bc13f36e68d9ebf3e4275a38d9 (diff)
downloadATCD-8203b41700ed99aba66177699764350f5203d385.tar.gz
Diffstat (limited to 'ACE/tests/NDDS_Timer_Test.cpp')
-rw-r--r--ACE/tests/NDDS_Timer_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/NDDS_Timer_Test.cpp b/ACE/tests/NDDS_Timer_Test.cpp
index 21077207fc5..4d205974d1d 100644
--- a/ACE/tests/NDDS_Timer_Test.cpp
+++ b/ACE/tests/NDDS_Timer_Test.cpp
@@ -151,7 +151,7 @@ run_main (int argc, ACE_TCHAR *argv[])
RTINtpTime_unpackToNanosec (sec, nanoseconds, duration);
time_t const interval_usec =
- interval.sec * ACE_ONE_SECOND_IN_USECS + interval.nanosec / 1000;
+ interval.sec () * ACE_ONE_SECOND_IN_USECS + interval.usec ();
time_t const measured_usec =
sec * ACE_ONE_SECOND_IN_USECS + microseconds;