From: Tomek Mrugalski Date: Fri, 10 Mar 2017 17:55:27 +0000 (+0100) Subject: [5114] Compilation fix for FreeBSD11.0 x86 (see kea-multiconfig-build #5) X-Git-Tag: trac5152_base~3^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86995f8bc8f50dcb54a472e031073e63cbeade1f;p=thirdparty%2Fkea.git [5114] Compilation fix for FreeBSD11.0 x86 (see kea-multiconfig-build #5) --- diff --git a/src/bin/dhcp4/tests/get_config_unittest.cc b/src/bin/dhcp4/tests/get_config_unittest.cc index d260842234..8705dcff5a 100644 --- a/src/bin/dhcp4/tests/get_config_unittest.cc +++ b/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(0), max_config_counter)); }; diff --git a/src/bin/dhcp6/tests/get_config_unittest.cc b/src/bin/dhcp6/tests/get_config_unittest.cc index a76633d9c0..82722dda08 100644 --- a/src/bin/dhcp6/tests/get_config_unittest.cc +++ b/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(0), max_config_counter)); };