mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Fix compiler warning / bug from OS X
Change-Id: I498fb6e26642065c32c8425e5e6564bfb7b75c78
This commit is contained in:
1 parent
316b8451f9
commit
2de9f97fd7
1 file changed
+1
-1
@@ -618,7 +618,7 @@ class ArrowDeserializer {
|
||||
Status OutputFromData(int type, void* data) {
|
||||
// Zero-Copy. We can pass the data pointer directly to NumPy.
|
||||
Py_INCREF(py_ref_);
|
||||
OwnedRef py_ref(py_ref);
|
||||
OwnedRef py_ref(py_ref_);
|
||||
npy_intp dims[1] = {col_->length()};
|
||||
out_ = reinterpret_cast<PyArrayObject*>(PyArray_SimpleNewFromData(1, dims,
|
||||
type, data));
|
||||
|
||||
Reference in new issue
Block a user