Commit 7c8179c5 authored by Ondřej Surý's avatar Ondřej Surý

Correct the typecast of .tv_sec in isc_stdtime_get()

parent 03727c14
Pipeline #37618 passed with stages
in 22 minutes and 9 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