diff options
Diffstat (limited to 'numpy/numarray/_capi.c')
-rw-r--r-- | numpy/numarray/_capi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/numarray/_capi.c b/numpy/numarray/_capi.c index 7320537a3..91e3b4984 100644 --- a/numpy/numarray/_capi.c +++ b/numpy/numarray/_capi.c @@ -1099,7 +1099,7 @@ NA_OutputArray(PyObject *a, NumarrayType t, int requires) PyArray_DIMS((PyArrayObject *)a), dtype, 0); Py_INCREF(a); - if (PyArray_SetUpdateIfCopyBase(ret, a) < 0) { + if (PyArray_SetUpdateIfCopyBase(ret, (PyArrayObject *)a) < 0) { Py_DECREF(ret); return NULL; } |