diff --git a/path.c b/path.c index 13858fb63..53139c5df 100644 --- a/path.c +++ b/path.c @@ -50,7 +50,7 @@ typedef struct { static PyTypeObject PyPathType; static double* -alloc_array(int count) +alloc_array(Py_ssize_t count) { double* xy; if (count < 0) {