Skip to content

Commit

Permalink
undo address change, handled in separate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Feb 8, 2024
1 parent 596175d commit 6ffc6b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/src/arrow/c/bridge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,7 @@ struct ArrayExporter {
export_.buffers_.resize(n_buffers);
std::transform(buffers_begin, data->buffers.end(), export_.buffers_.begin(),
[](const std::shared_ptr<Buffer>& buffer) -> const void* {
return buffer ? reinterpret_cast<const void*>(buffer->address())
: nullptr;
return buffer ? buffer->data() : nullptr;
});

if (need_variadic_buffer_sizes) {
Expand Down

0 comments on commit 6ffc6b8

Please sign in to comment.