Commit 56f41442 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2811] Use ints for consistency

These are better replaced with size_ts everywhere, but we set it the
test DomainTree's data, and the data is an int, so it has been changed
everywhere to be an int for consistency.
parent f6fd9cc5
......@@ -151,7 +151,7 @@ TEST_F(DomainTreeTest, getDistance) {
}
void
checkDistances(const TestDomainTree& tree, size_t distance) {
checkDistances(const TestDomainTree& tree, int distance) {
TestDomainTreeNodeChain node_path;
const TestDomainTreeNode* node = NULL;
......@@ -177,7 +177,7 @@ TEST_F(DomainTreeTest, checkDistanceRandom) {
TreeHolder mytree_holder(mem_sgmt_, TestDomainTree::create(mem_sgmt_));
TestDomainTree& mytree = *mytree_holder.get();
isc::util::random::UniformRandomIntegerGenerator gen('a', 'z');
const size_t log_num_nodes = 20;
const int log_num_nodes = 20;
// Make a large million+ node top-level domain tree, i.e., the
// following code inserts names such as:
......@@ -219,7 +219,7 @@ TEST_F(DomainTreeTest, checkDistanceSorted) {
TreeHolder mytree_holder(mem_sgmt_, TestDomainTree::create(mem_sgmt_));
TestDomainTree& mytree = *mytree_holder.get();
const size_t log_num_nodes = 20;
const int log_num_nodes = 20;
// Make a large million+ node top-level domain tree, i.e., the
// following code inserts names such as:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment