mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
[master] one more win32 build error
This commit is contained in:
@@ -248,14 +248,13 @@ isc_time_secondsastimet(const isc_time_t *t, time_t *secondsp) {
|
||||
time_t seconds;
|
||||
|
||||
REQUIRE(t != NULL);
|
||||
INSIST(t->nanoseconds < NS_PER_S);
|
||||
|
||||
seconds = (time_t)isc_time_seconds(t);
|
||||
|
||||
INSIST(sizeof(unsigned int) == sizeof(isc_uint32_t));
|
||||
INSIST(sizeof(time_t) >= sizeof(isc_uint32_t));
|
||||
|
||||
if (t->seconds > (~0U>>1) && seconds <= (time_t)(~0U>>1))
|
||||
if (isc_time_seconds(t) > (~0U>>1) && seconds <= (time_t)(~0U>>1))
|
||||
return (ISC_R_RANGE);
|
||||
|
||||
*secondsp = seconds;
|
||||
|
Reference in New Issue
Block a user