214ae581bd
* Add support for AES-GCM-SIV in GnuTLS * Add support for corrections from PTP transparent clocks * Add support for systemd socket activation * Fix presend in interleaved mode * Fix reloading of modified sources from sourcedir OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=119
12 lines
416 B
Diff
12 lines
416 B
Diff
--- test/unit/util.c.orig
|
|
+++ test/unit/util.c
|
|
@@ -602,7 +602,7 @@ test_unit(void)
|
|
#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));
|