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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user