64 bit proof alloc_array

This commit is contained in:
Christoph Gohlke 2013-03-08 09:51:22 -08:00
parent a67b849bb0
commit 1c189b3f2c

2
path.c
View File

@ -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) {