Commit 4167eba3 authored by Ondřej Surý's avatar Ondřej Surý

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 !3294
parents 03727c14 7c8179c5
Pipeline #37642 failed with stages
in 36 minutes and 27 seconds
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment