Fix a compilation warning
This commit is contained in:
parent
e0793ba992
commit
c73b909a2b
|
@ -179,7 +179,7 @@ _indirect_copy_nd(char *dest, Py_buffer *view, char fort)
|
|||
int k;
|
||||
Py_ssize_t elements;
|
||||
char *ptr;
|
||||
void (*func)(int, Py_ssize_t *, Py_ssize_t *);
|
||||
void (*func)(int, Py_ssize_t *, const Py_ssize_t *);
|
||||
|
||||
if (view->ndim > PY_SSIZE_T_MAX / sizeof(Py_ssize_t)) {
|
||||
PyErr_NoMemory();
|
||||
|
|
Loading…
Reference in New Issue