Skip to content

Commit c73b909

Browse files
committed
Fix a compilation warning
1 parent e0793ba commit c73b909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/memoryobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ _indirect_copy_nd(char *dest, Py_buffer *view, char fort)
179179
int k;
180180
Py_ssize_t elements;
181181
char *ptr;
182-
void (*func)(int, Py_ssize_t *, Py_ssize_t *);
182+
void (*func)(int, Py_ssize_t *, const Py_ssize_t *);
183183

184184
if (view->ndim > PY_SSIZE_T_MAX / sizeof(Py_ssize_t)) {
185185
PyErr_NoMemory();

0 commit comments

Comments
 (0)