diff --git a/src/numpy.cpp b/src/numpy.cpp index e758ed02..0621edc8 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); }