From: Stephen Morris Date: Fri, 12 Aug 2016 10:57:22 +0000 (+0100) Subject: [4489] Altered "size_t" to "unsigned long" to overcome compiler objections X-Git-Tag: trac4631_base~9^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6936baabec7460a1d250c88ab2471b60f973548;p=thirdparty%2Fkea.git [4489] Altered "size_t" to "unsigned long" to overcome compiler objections --- diff --git a/src/lib/dhcpsrv/mysql_host_data_source.cc b/src/lib/dhcpsrv/mysql_host_data_source.cc index 30d40624c5..34d5f7c9a4 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.cc +++ b/src/lib/dhcpsrv/mysql_host_data_source.cc @@ -1588,7 +1588,7 @@ private: std::vector value_; /// @brief Option value length. - size_t value_len_; + unsigned long value_len_; /// @brief Formatted option value length. unsigned long formatted_value_len_; @@ -1597,7 +1597,7 @@ private: std::string space_; /// @brief Option space name length. - size_t space_len_; + unsigned long space_len_; /// @brief Boolean flag indicating if the option is always returned to /// a client or only when requested. @@ -1607,7 +1607,7 @@ private: std::string client_class_; /// @brief Length of the string holding client classes for the option. - size_t client_class_len_; + unsigned long client_class_len_; /// @brief Subnet identifier. uint32_t subnet_id_;