diff options
author | Francis Dupont <fdupont@isc.org> | 2024-03-05 18:44:51 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2024-03-20 00:18:24 +0100 |
commit | baa1aa46e56a9eb64c8dbf7b8115bc74b0b9d9ca (patch) | |
tree | f8493dc49ea33769f038b0a3c652ee540f31ff2b /src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc | |
parent | [#3211] Checkpoint: rewrote InputBuffer (diff) | |
download | kea-baa1aa46e56a9eb64c8dbf7b8115bc74b0b9d9ca.tar.xz kea-baa1aa46e56a9eb64c8dbf7b8115bc74b0b9d9ca.zip |
[#3211] Almost done
Diffstat (limited to 'src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc')
-rw-r--r-- | src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc b/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc index 1f4b0a38d3..9e8648a431 100644 --- a/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc +++ b/src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc @@ -967,7 +967,7 @@ MySqlConfigBackendImpl::createOptionValueBinding(const OptionDescriptorPtr& opti if (option->formatted_value_.empty() && (opt->len() > opt->getHeaderLen())) { OutputBuffer buf(opt->len()); opt->pack(buf); - const char* buf_ptr = static_cast<const char*>(buf.getData()); + const uint8_t* buf_ptr = buf.getData(); std::vector<uint8_t> blob(buf_ptr + opt->getHeaderLen(), buf_ptr + buf.getLength()); return (MySqlBinding::createBlob(blob.begin(), blob.end())); |