]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5114] Compilation fix for FreeBSD11.0 x86 (see kea-multiconfig-build #5)
authorTomek Mrugalski <tomasz@isc.org>
Fri, 10 Mar 2017 17:55:27 +0000 (18:55 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 10 Mar 2017 17:55:27 +0000 (18:55 +0100)
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc

index d2608422348bb73a84f9790a19ea6593d045aec0..8705dcff5a13401b7ff3f038f4ef491cda4c5038 100644 (file)
@@ -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));
 
 };
index a76633d9c0a2b9380ce4399f7f61bf54aca9c876..82722dda08b81d34c41b4984b7d210f29499b1ca 100644 (file)
@@ -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));
 
 };