mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 17:20:29 -04:00
While here: * Relocate some variables * Rework some patches * USE localbase ChangeLog: https://github.com/DOCGroup/ACE_TAO/releases/tag/ACE%2BTAO-6_5_2 Reported by: portscout Approved by: tcberner (mentor, implicit)
11 lines
626 B
C++
11 lines
626 B
C++
--- tests/Chrono_Test.cpp.orig 2018-10-05 15:55:54 UTC
|
|
+++ tests/Chrono_Test.cpp
|
|
@@ -208,7 +208,7 @@ test_streamers ()
|
|
std::chrono::seconds day_test_ts { day_test_h+day_test_s };
|
|
std::chrono::microseconds day_test_tus { day_test_ms+day_test_us };
|
|
ACE_Time_Value const test_day {
|
|
- ACE_Time_Value { day_test_ts.count (), ACE_Utils::truncate_cast<suseconds_t>(day_test_tus.count ()) }};
|
|
+ ACE_Time_Value { (int)(day_test_ts.count ()), ACE_Utils::truncate_cast<suseconds_t>(day_test_tus.count ()) }};
|
|
|
|
constexpr int expected_min {nr_hours * 60};
|
|
constexpr int64_t expected_sec { expected_min * 60 + 54 };
|