From 6735f1e88685d7b87528481b66341d22ec066cd1 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 4 Mar 1999 02:35:04 +0000 Subject: [PATCH] arguments for common_labels and common_bits to dns_name_fullcompare are unsigned ints --- lib/dns/rbt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/dns/rbt.c b/lib/dns/rbt.c index 4653f76893..876fe00f06 100644 --- a/lib/dns/rbt.c +++ b/lib/dns/rbt.c @@ -240,8 +240,8 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) { dns_result_t result; dns_rbtnodechain_t chain; isc_region_t r; - int add_labels, current_labels, keep_labels, start_label; - int order, common_labels, common_bits; + int add_labels, current_labels, keep_labels, start_label, order; + unsigned int common_labels, common_bits; REQUIRE(VALID_RBT(rbt)); REQUIRE(FAST_ISABSOLUTE(name)); @@ -545,7 +545,8 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnodechain_t *chain) { dns_name_t holder1, holder2; dns_namereln_t compared; dns_offsets_t holder1_offsets, holder2_offsets; - int current_labels, keep_labels, order, common_labels, common_bits; + int current_labels, keep_labels, order; + unsigned int common_labels, common_bits; isc_region_t r; /* @@@ optimize skipping the root node? */