2021-12-16 19:15:17 +01:00
|
|
|
--- test/unit/util.c.orig
|
|
|
|
+++ test/unit/util.c
|
2024-01-15 15:21:47 +01:00
|
|
|
@@ -602,7 +602,7 @@ test_unit(void)
|
2021-12-16 19:15:17 +01:00
|
|
|
#else
|
|
|
|
TEST_CHECK(tspec.tv_sec_high == htonl(TV_NOHIGHSEC));
|
|
|
|
#endif
|
|
|
|
- TEST_CHECK(tspec.tv_sec_low == htonl(ts.tv_sec));
|
|
|
|
+ TEST_CHECK(tspec.tv_sec_low == htonl((uint32_t) ts.tv_sec));
|
|
|
|
TEST_CHECK(tspec.tv_nsec == htonl(ts.tv_nsec));
|
|
|
|
UTI_TimespecNetworkToHost(&tspec, &ts2);
|
|
|
|
TEST_CHECK(!UTI_CompareTimespecs(&ts, &ts2));
|