diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp index 1604975f718..285c1bac0cd 100644 --- a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp +++ b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.cpp @@ -140,7 +140,7 @@ TAO_Time_Service_Clerk::get_time (void) const ACE_Time_Value timeofday = ACE_OS::gettimeofday (); - return (CORBA::ULongLong) (static_cast<CORBA::ULongLong>(timeofday.sec ()) * + return (CORBA::ULongLong) (static_cast<CORBA::ULongLong> (timeofday.sec ()) * ACE_static_cast (ACE_UINT32, 10000000) + ACE_static_cast (CORBA::ULongLong, diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp index 3f4ba9b3fcf..1d51e89d146 100644 --- a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp +++ b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.cpp @@ -58,7 +58,7 @@ TAO_Time_Service_Server::universal_time (ACE_ENV_SINGLE_ARG_DECL) // Return the local time of the system as a UTO. ACE_NEW_THROW_EX (uto, TAO_UTO ((TAO_Time_Base_Offset + - static_cast<CORBA::ULongLong>(timeofday.sec ())) * + static_cast<CORBA::ULongLong> (timeofday.sec ())) * ACE_static_cast (ACE_UINT32, 10000000) + ACE_static_cast (CORBA::ULongLong, diff --git a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp index 120b58eacb9..f8fb927c086 100644 --- a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp +++ b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp @@ -119,7 +119,7 @@ Timer_Helper::handle_timeout (const ACE_Time_Value &, ACE_OS::tzset (); long arg = ACE_OS::timezone () / 60; - CORBA::Short goodarg = static_cast<CORBA::Short>(arg); + CORBA::Short goodarg = static_cast<CORBA::Short> (arg); clerk_->time_displacement_factor (goodarg); // Set the inaccuracy. @@ -133,7 +133,7 @@ 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_ = - static_cast<CORBA::ULongLong>(timeofday.sec ()) * + static_cast<CORBA::ULongLong> (timeofday.sec ()) * ACE_static_cast (ACE_UINT32, 10000000) + ACE_static_cast (CORBA::ULongLong, |