arguments for common_labels and common_bits to dns_name_fullcompare

are unsigned ints
This commit is contained in:
David Lawrence
1999-03-04 02:35:04 +00:00
parent 9ba8f087af
commit 6735f1e886
+4 -3
View File
@@ -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? */