We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0808cfa commit 7da3c14Copy full SHA for 7da3c14
src/kt_variant.h
@@ -185,7 +185,7 @@ class BufferToVariant {
185
186
template<class T>
187
static inline T* read_pointer(SharedBuffer* byte_buffer) {
188
- uintptr_t ptr {decode_uint64(byte_buffer->get_cursor())};
+ auto ptr {static_cast<uintptr_t>(decode_uint64(byte_buffer->get_cursor()))};
189
byte_buffer->increment_position(PTR_SIZE);
190
return reinterpret_cast<T*>(ptr);
191
}
0 commit comments