Browse Source

[5114] Compilation fix for FreeBSD11.0 x86 (see kea-multiconfig-build #5)

Tomek Mrugalski 8 years ago
parent
commit
86995f8bc8

+ 1 - 1
src/bin/dhcp4/tests/get_config_unittest.cc

@@ -5873,6 +5873,6 @@ TEST_P(Dhcp4GetConfigTest, run) {
 
 /// Define the parametrized test loop
 INSTANTIATE_TEST_CASE_P(Dhcp4GetConfigTest, Dhcp4GetConfigTest,
-                        ::testing::Range(0UL, max_config_counter));
+                        ::testing::Range(static_cast<size_t>(0), max_config_counter));
 
 };

+ 1 - 1
src/bin/dhcp6/tests/get_config_unittest.cc

@@ -6100,6 +6100,6 @@ TEST_P(Dhcp6GetConfigTest, run) {
 
 /// Define the parametrized test loop
 INSTANTIATE_TEST_CASE_P(Dhcp6GetConfigTest, Dhcp6GetConfigTest,
-                        ::testing::Range(0UL, max_config_counter));
+                        ::testing::Range(static_cast<size_t>(0), max_config_counter));
 
 };