2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

silence compiler warning

Silence a warning about a signed/unsigned integer comparison.
This commit is contained in:
Evan Hunt
2021-10-18 12:49:40 -07:00
parent a0bb05faf6
commit 94496635ff

View File

@@ -1429,7 +1429,7 @@ dns_dispatch_add(dns_dispatch_t *disp, unsigned int options,
void
dispatch_getnext(dns_dispatch_t *disp, dns_dispentry_t *resp, int32_t timeout) {
REQUIRE(timeout <= UINT16_MAX);
REQUIRE(timeout <= (int32_t)UINT16_MAX);
switch (disp->socktype) {
case isc_socktype_udp: