diff options
author | Thomas Markwalder <tmark@isc.org> | 2023-06-21 21:42:19 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2023-06-21 21:42:19 +0200 |
commit | f446945271f5e86ad353de3134b7b5543f167cdc (patch) | |
tree | c6e18249cad6bc670c65a1a1b2958851d933dec7 | |
parent | [#2909] Readd not null constraint (diff) | |
download | kea-f446945271f5e86ad353de3134b7b5543f167cdc.tar.xz kea-f446945271f5e86ad353de3134b7b5543f167cdc.zip |
[#2909] Fixed token.cc compile error
-rw-r--r-- | src/lib/eval/token.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eval/token.cc b/src/lib/eval/token.cc index 5d5e4e2a29..d9212b2af2 100644 --- a/src/lib/eval/token.cc +++ b/src/lib/eval/token.cc @@ -162,7 +162,7 @@ TokenInt8ToText::evaluate(Pkt& /*pkt*/, ValueStack& values) { } stringstream tmp; - tmp << static_cast<int32_t>(*(reinterpret_cast<int8_t*>(op.data()))); + tmp << static_cast<int32_t>(*(reinterpret_cast<const int8_t*>(op.data()))); op = tmp.str(); values.push(op); @@ -251,7 +251,7 @@ TokenUInt8ToText::evaluate(Pkt& /*pkt*/, ValueStack& values) { } stringstream tmp; - tmp << static_cast<uint32_t>(*(reinterpret_cast<uint8_t*>(op.data()))); + tmp << static_cast<uint32_t>(*(reinterpret_cast<const uint8_t*>(op.data()))); op = tmp.str(); values.push(op); |