Skip to content

Commit 7da3c14

Browse files
committed
Fix Android
1 parent 0808cfa commit 7da3c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kt_variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class BufferToVariant {
185185

186186
template<class T>
187187
static inline T* read_pointer(SharedBuffer* byte_buffer) {
188-
uintptr_t ptr {decode_uint64(byte_buffer->get_cursor())};
188+
auto ptr {static_cast<uintptr_t>(decode_uint64(byte_buffer->get_cursor()))};
189189
byte_buffer->increment_position(PTR_SIZE);
190190
return reinterpret_cast<T*>(ptr);
191191
}

0 commit comments

Comments
 (0)