summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
diff options
context:
space:
mode:
authorvishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-28 20:50:47 +0000
committervishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-28 20:50:47 +0000
commit836d74b0215729113866580f3b48e45a9c2acd1a (patch)
treeb518b8fb03511c410f07014994b127abb6e276f6 /TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
parent09decc1757fa3a42c67499c38f05d846a502c606 (diff)
downloadATCD-836d74b0215729113866580f3b48e45a9c2acd1a.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
index 9242d81009d..6960b5e875b 100644
--- a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
+++ b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp
@@ -127,7 +127,8 @@ TAO_Time_Service_Clerk::get_time (void)
// elapsed since last updation was done.
CORBA::ULongLong time;
- time = (CORBA::ULongLong) (ACE_OS::gettimeofday ().sec () * 10000000
+ time = (CORBA::ULongLong) (ACE_OS::gettimeofday ().sec () *
+ ACE_static_cast (CORBA::ULongLong, 10000000)
+ ACE_OS::gettimeofday ().usec () * 10)
- this->update_timestamp_ + this->time_;