summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cython/Includes/numpy/__init__.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Includes/numpy/__init__.pxd b/Cython/Includes/numpy/__init__.pxd
index ff31b91e2..77dfbcdc5 100644
--- a/Cython/Includes/numpy/__init__.pxd
+++ b/Cython/Includes/numpy/__init__.pxd
@@ -21,7 +21,7 @@ cdef extern from *:
cdef extern from "Python.h":
- ctypedef int Py_intptr_t
+ ctypedef Py_ssize_t Py_intptr_t
cdef extern from "numpy/arrayobject.h":
ctypedef Py_intptr_t npy_intp