Browse Source

[master] Fixed again the Range 0UL in DHCPv6 get-config tests

Francis Dupont 7 years ago
parent
commit
dfbab8060e

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

@@ -6151,6 +6151,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));
 
 };

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

@@ -343,6 +343,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));
 
 };