From 7b95d330cb5e033946b01b4a51d19d30a6564b07 Mon Sep 17 00:00:00 2001 From: Kevin Gurney Date: Mon, 20 May 2024 11:33:00 -0400 Subject: [PATCH] Update matlab/src/cpp/arrow/matlab/c/proxy/array_importer.cc Co-authored-by: Sutou Kouhei --- matlab/src/cpp/arrow/matlab/c/proxy/array_importer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/src/cpp/arrow/matlab/c/proxy/array_importer.cc b/matlab/src/cpp/arrow/matlab/c/proxy/array_importer.cc index 73ec06dbf03ea..060aa717d06a1 100644 --- a/matlab/src/cpp/arrow/matlab/c/proxy/array_importer.cc +++ b/matlab/src/cpp/arrow/matlab/c/proxy/array_importer.cc @@ -45,7 +45,7 @@ void ArrayImporter::import(libmexclass::proxy::method::Context& context) { const auto arrow_array_address = uint64_t(arrow_array_address_mda[0]); const auto arrow_schema_address = uint64_t(arrow_schema_address_mda[0]); - struct ArrowArray* arrow_array = + auto arrow_array = reinterpret_cast(arrow_array_address); auto arrow_schema = reinterpret_cast(arrow_schema_address);