Skip to content

Commit 94e9105

Browse files
committed
Removing a cast.
1 parent bb5ce00 commit 94e9105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/simdjson/inline/tape_ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ really_inline T tape_ref::next_tape_value() const noexcept {
8383
really_inline uint32_t internal::tape_ref::get_string_length() const noexcept {
8484
size_t string_buf_index = size_t(tape_value());
8585
uint32_t len;
86-
memcpy(&len, &doc->string_buf[size_t(string_buf_index)], sizeof(len));
86+
memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len));
8787
return len;
8888
}
8989

0 commit comments

Comments
 (0)