Skip to content

Commit

Permalink
fixup! BLD: fix building against numpy dev
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Mar 8, 2024
1 parent 5ab06b3 commit 99ae2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erfa/ufunc.c.templ
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 99ae2fe

Please sign in to comment.