Fix a compilation warning

This commit is contained in:
Antoine Pitrou 2010-09-01 21:14:46 +00:00
parent e0793ba992
commit c73b909a2b
1 changed files with 1 additions and 1 deletions

View File

@ -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();