From 94496635ff4acd0016cbb24cf92dcf280952c6ea Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Mon, 18 Oct 2021 12:49:40 -0700 Subject: [PATCH] silence compiler warning Silence a warning about a signed/unsigned integer comparison. --- lib/dns/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index 72adb35f84..f1301f76e2 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -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: