We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb5ce00 commit 94e9105Copy full SHA for 94e9105
include/simdjson/inline/tape_ref.h
@@ -83,7 +83,7 @@ really_inline T tape_ref::next_tape_value() const noexcept {
83
really_inline uint32_t internal::tape_ref::get_string_length() const noexcept {
84
size_t string_buf_index = size_t(tape_value());
85
uint32_t len;
86
- memcpy(&len, &doc->string_buf[size_t(string_buf_index)], sizeof(len));
+ memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len));
87
return len;
88
}
89
0 commit comments