summaryrefslogtreecommitdiff
path: root/ACE/netsvcs
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2007-02-27 22:34:11 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2007-02-27 22:34:11 +0000
commit59ccd6acde7f18ba1577855f1b86571d6ce92469 (patch)
tree604a55f408e2e87608e73c3dc322181beea3f325 /ACE/netsvcs
parentf1a3999132792d4406ef66a05d32f50b3467f5e8 (diff)
downloadATCD-59ccd6acde7f18ba1577855f1b86571d6ce92469.tar.gz
ChangeLogTag:Tue Feb 27 21:18:07 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/netsvcs')
-rw-r--r--ACE/netsvcs/lib/Time_Request_Reply.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/netsvcs/lib/Time_Request_Reply.cpp b/ACE/netsvcs/lib/Time_Request_Reply.cpp
index 402a7ded8f1..aede65c2c25 100644
--- a/ACE/netsvcs/lib/Time_Request_Reply.cpp
+++ b/ACE/netsvcs/lib/Time_Request_Reply.cpp
@@ -99,7 +99,7 @@ ACE_Time_Value
ACE_Time_Request::timeout (void) const
{
ACE_TRACE ("ACE_Time_Request::timeout");
- time_t sec = ACE_Utils::Truncate<time_t> (this->transfer_.sec_timeout_);
+ time_t sec = ACE_Utils::truncate_cast<time_t> (this->transfer_.sec_timeout_);
return ACE_Time_Value (sec, this->transfer_.usec_timeout_);
}
@@ -165,7 +165,7 @@ ACE_Time_Request::decode (void)
ACE_CDR::swap_8 ((const char *)&secs, (char *)&this->transfer_.time_);
#endif
- this->time_ = ACE_Utils::Truncate<time_t> (this->transfer_.time_);
+ this->time_ = ACE_Utils::truncate_cast<time_t> (this->transfer_.time_);
return 0;
}