diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-01 21:14:46 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-01 21:14:46 (GMT) |
commit | c73b909a2b31f503278202148bfa85d9ccf085a4 (patch) | |
tree | 99f6e8fe9d29459ab3517f16f06922e7f71b1435 /Objects | |
parent | e0793ba99293ac9df5e7e27d3f78cfc27113b359 (diff) | |
download | cpython-c73b909a2b31f503278202148bfa85d9ccf085a4.zip cpython-c73b909a2b31f503278202148bfa85d9ccf085a4.tar.gz cpython-c73b909a2b31f503278202148bfa85d9ccf085a4.tar.bz2 |
Fix a compilation warning
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/memoryobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c index 3f20392..802a922 100644 --- a/Objects/memoryobject.c +++ b/Objects/memoryobject.c @@ -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(); |