diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-03-29 13:33:01 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-03-29 13:33:01 +0000 |
commit | 8203b41700ed99aba66177699764350f5203d385 (patch) | |
tree | 152fbacb402fe3deb18f98ba571a2df4fbeb06dc /ACE/tests/NDDS_Timer_Test.cpp | |
parent | 9d0c33ec660737bc13f36e68d9ebf3e4275a38d9 (diff) | |
download | ATCD-8203b41700ed99aba66177699764350f5203d385.tar.gz |
Diffstat (limited to 'ACE/tests/NDDS_Timer_Test.cpp')
-rw-r--r-- | ACE/tests/NDDS_Timer_Test.cpp | 2 |
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; |