summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp
index 2da2b708e98..1d0bcfc4268 100644
--- a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp
+++ b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp
@@ -124,9 +124,10 @@ Timer_Helper::handle_timeout (const ACE_Time_Value &,
// Record the current time in a timestamp to know when global
// updation of time was done.
- clerk_->update_timestamp_ = ACE_OS::gettimeofday ().sec () * 10000000
+ clerk_->update_timestamp_ = ACE_OS::gettimeofday ().sec () *
+ ACE_static_cast (CORBA::ULongLong, 10000000)
+ ACE_OS::gettimeofday ().usec () * 10;
-
+
}
ACE_CATCHANY
{