From fdbe021c6217f64d9cacc7f52d6884dd8435a11c Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 8 Oct 1999 23:38:22 +0000 Subject: [PATCH] Cast an argument to dns_rdatatype_iszonecutauth to dns_rdatatype_t; it is already being range limited. --- lib/dns/nxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/nxt.c b/lib/dns/nxt.c index 679f9ab402..d5763829cc 100644 --- a/lib/dns/nxt.c +++ b/lib/dns/nxt.c @@ -110,7 +110,7 @@ dns_buildnxtrdata(dns_db_t *db, dns_dbversion_t *version, ! bit_isset(nxt_bits, dns_rdatatype_soa)) { for (i = 0; i < 128; i++) { if (bit_isset(nxt_bits, i) && - ! dns_rdatatype_iszonecutauth(i)) + ! dns_rdatatype_iszonecutauth((dns_rdatatype_t)i)) set_bit(nxt_bits, i, 0); } }