diff options
author | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-10 10:43:09 +0000 |
---|---|---|
committer | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-10 10:43:09 +0000 |
commit | 1c5af9504efb815507fe55b010557dd12954afd5 (patch) | |
tree | a8c9c1c07b6ddea4a8449d329c430ffbe436f600 /ACE/ace/ACE.cpp | |
parent | 9cd0592be8d947bb7eb24d636a3e9e4819f57a87 (diff) | |
download | ATCD-1c5af9504efb815507fe55b010557dd12954afd5.tar.gz |
Thu Mar 10 10:37:44 UTC 2011 Vladimir Zykov <vladimir.zykov@prismtech.com>
* ace/OS_NS_netdb.inl:
* ace/Stack_Trace.cpp:
Fixed warnings on VxWorks.
* ace/ACE.cpp:
Added a cast for a type that is expected by printf to be long.
* examples/Timer_Queue/Custom_Handler.cpp:
* examples/Timer_Queue/Thread_Timer_Queue_Test.cpp:
Added casts for arguments to printf as it expects unsigned long.
Diffstat (limited to 'ACE/ace/ACE.cpp')
-rw-r--r-- | ACE/ace/ACE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/ACE.cpp b/ACE/ace/ACE.cpp index f868f6dea1a..22d8bc24bb1 100644 --- a/ACE/ace/ACE.cpp +++ b/ACE/ace/ACE.cpp @@ -2419,7 +2419,7 @@ ACE::timestamp (const ACE_Time_Value& time_value, tms.tm_hour, tms.tm_min, tms.tm_sec, - cur_time.usec()); + static_cast<long> (cur_time.usec())); date_and_time[date_and_timelen - 1] = '\0'; return &date_and_time[11 + (return_pointer_to_first_digit != 0)]; } |