mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +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
|
void
|
||||||
dispatch_getnext(dns_dispatch_t *disp, dns_dispentry_t *resp, int32_t timeout) {
|
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) {
|
switch (disp->socktype) {
|
||||||
case isc_socktype_udp:
|
case isc_socktype_udp:
|
||||||
|
Reference in New Issue
Block a user