]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#101,!202] Fixed review comment. 101-cb-add-two-step-configuration-to-the-dhcpv4-server-4
authorThomas Markwalder <tmark@isc.org>
Tue, 29 Jan 2019 14:17:07 +0000 (09:17 -0500)
committerThomas Markwalder <tmark@isc.org>
Tue, 29 Jan 2019 14:17:07 +0000 (09:17 -0500)
src/lib/cc/stamped_value.cc

index 9a3aed125d4a1aee6d891796674397b127861767..6efb7f81e5233386b9f11f17802edf5315600bd8 100644 (file)
@@ -65,7 +65,7 @@ StampedValue::toElement(Element::types elem_type) {
     }
     case Element::integer: {
         try {
-            int int_value = boost::lexical_cast<int>(value_);
+            int64_t int_value = boost::lexical_cast<int64_t>(value_);
             element.reset(new IntElement(int_value));
         } catch (const std::exception& ex) {
             isc_throw(BadValue, "StampedValue::toElement:  integer value expected for: "