diff --git a/src/numpy.cpp b/src/numpy.cpp index e758ed02dff52c691c303705b0f6746de9198b2b..0621edc8b9d79f7756e68892cbd02faa08b834e4 100644 --- a/src/numpy.cpp +++ b/src/numpy.cpp @@ -57,7 +57,7 @@ void call_PyArray_InitArrFuncs(PyArray_ArrFuncs* funcs) { PyArray_InitArrFuncs(funcs); } -int call_PyArray_RegisterDataType(PyArray_Descr* dtype) { +int call_PyArray_RegisterDataType(PyArray_DescrProto* dtype) { return PyArray_RegisterDataType(dtype); }