summaryrefslogtreecommitdiff
path: root/ACE/ace/Time_Value.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-04-13 07:43:18 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-04-13 07:43:18 +0000
commit3becfa88d6e3f5b2e73b70af522249c104de6560 (patch)
tree276d5e340f0a40a4310dbf8f38546006fa922f92 /ACE/ace/Time_Value.inl
parentf5c6d1e40d3bcf8f57a7ed80e0f6f3b69153f883 (diff)
downloadATCD-3becfa88d6e3f5b2e73b70af522249c104de6560.tar.gz
Wed Apr 13 07:41:31 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Time_Value.inl: Removed truncate_cast because it gives problems on Windows. Thanks to Jonathan Saxton <jsaxton at appsecinc dot com> * tests/Time_Value_Test.cpp: Extended with new test for change above
Diffstat (limited to 'ACE/ace/Time_Value.inl')
-rw-r--r--ACE/ace/Time_Value.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Time_Value.inl b/ACE/ace/Time_Value.inl
index 5349902fa2e..ce556dbb853 100644
--- a/ACE/ace/Time_Value.inl
+++ b/ACE/ace/Time_Value.inl
@@ -131,7 +131,7 @@ ACE_INLINE void
ACE_Time_Value::sec (time_t sec)
{
// ACE_OS_TRACE ("ACE_Time_Value::sec");
- this->tv_.tv_sec = ACE_Utils::truncate_cast<long> (sec);
+ this->tv_.tv_sec = sec;
}
/// Converts from Time_Value format into milli-seconds format.