summaryrefslogtreecommitdiff
path: root/ACE/ace/Time_Value.inl
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-08-12 19:46:36 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-08-12 19:46:36 +0000
commit5cf2a8010d69b5c1080390b58453bbfe3a4f2823 (patch)
tree5e6f2b638380443bdf143e92ef03d0064518d611 /ACE/ace/Time_Value.inl
parentfc2688222bf165d490b474a5f5cdabbf9c998916 (diff)
downloadATCD-5cf2a8010d69b5c1080390b58453bbfe3a4f2823.tar.gz
ChangeLogTag: Tue Aug 12 19:45:16 UTC 2008 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'ACE/ace/Time_Value.inl')
-rw-r--r--ACE/ace/Time_Value.inl3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/Time_Value.inl b/ACE/ace/Time_Value.inl
index 5fe3b21d5df..b64f1fbd7bc 100644
--- a/ACE/ace/Time_Value.inl
+++ b/ACE/ace/Time_Value.inl
@@ -45,7 +45,6 @@ ACE_Time_Value::set (const timeval &tv)
ACE_INLINE
ACE_Time_Value::ACE_Time_Value (const struct timeval &tv)
- // : tv_ ()
{
// ACE_OS_TRACE ("ACE_Time_Value::ACE_Time_Value");
this->set (tv);
@@ -70,7 +69,7 @@ ACE_INLINE void
ACE_Time_Value::set (time_t sec, suseconds_t usec)
{
// ACE_OS_TRACE ("ACE_Time_Value::set");
- this->tv_.tv_sec = ACE_Utils::truncate_cast<long> (sec);
+ this->tv_.tv_sec = sec;
this->tv_.tv_usec = usec;
#if __GNUC__
if (__builtin_constant_p(sec) &&