summaryrefslogtreecommitdiff
path: root/Cython/Utility/ModuleSetupCode.c
diff options
context:
space:
mode:
authorRobert Bradshaw <robertwb@gmail.com>2013-09-18 20:59:26 -0700
committerRobert Bradshaw <robertwb@gmail.com>2013-09-18 20:59:26 -0700
commit9eff1d3be381f6d65a50b8752eddfa6094707fa4 (patch)
treef8b58ee5e5f4c5073f59e9f643ae0e051887ae34 /Cython/Utility/ModuleSetupCode.c
parent73e5cb51a4fbbce559b47a59a9381195dd76d3e5 (diff)
parent1cbf6ba08239d028f2fede3fdc04fac38d913d59 (diff)
downloadcython-9eff1d3be381f6d65a50b8752eddfa6094707fa4.tar.gz
Merge branch 'int-conversion'
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r--Cython/Utility/ModuleSetupCode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c
index c76affdd9..bdc4c3e9a 100644
--- a/Cython/Utility/ModuleSetupCode.c
+++ b/Cython/Utility/ModuleSetupCode.c
@@ -51,7 +51,7 @@
#define PY_FORMAT_SIZE_T ""
#define CYTHON_FORMAT_SSIZE_T ""
#define PyInt_FromSsize_t(z) PyInt_FromLong(z)
- #define PyInt_AsSsize_t(o) __Pyx_PyInt_AsInt(o)
+ #define PyInt_AsSsize_t(o) __Pyx_PyInt_As_int(o)
#define PyNumber_Index(o) ((PyNumber_Check(o) && !PyFloat_Check(o)) ? PyNumber_Int(o) : \
(PyErr_Format(PyExc_TypeError, \
"expected index value, got %.200s", Py_TYPE(o)->tp_name), \