Merge branch '1679-fix-the-typecase-to-isc_stdtime_get' into 'master'

Correct the typecast of .tv_sec in isc_stdtime_get()

Closes #1679

See merge request isc-projects/bind9!3294
This commit is contained in:
Ondřej Surý 2020-03-25 21:31:34 +00:00
commit 4167eba3c3

View file

@ -47,5 +47,5 @@ isc_stdtime_get(isc_stdtime_t *t) {
REQUIRE(ts.tv_sec > 0 && ts.tv_nsec >= 0 && ts.tv_nsec < NS_PER_S);
*t = (unsigned int)ts.tv_sec;
*t = (isc_stdtime_t)ts.tv_sec;
}