From 99ae2fedf356f7382ec956c461973f2dafe1db26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 8 Mar 2024 11:25:32 +0100 Subject: [PATCH] fixup! BLD: fix building against numpy dev --- erfa/ufunc.c.templ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erfa/ufunc.c.templ b/erfa/ufunc.c.templ index ae7c45d..ba2fc2b 100644 --- a/erfa/ufunc.c.templ +++ b/erfa/ufunc.c.templ @@ -381,7 +381,7 @@ ufunc_loop_matches(PyUFuncObject *self, */ if (types[i] == NPY_VOID && dtypes != NULL) { int op_descr_type_num = op_descr->type_num; - int dtype_elsize = PyDataType_ELSIZE(dtypes[i]); + npy_intp dtype_elsize = PyDataType_ELSIZE(dtypes[i]); /* * MHvK: we do our own check on casting, since by default * all items can cast to structured dtypes (see gh-11114),