summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-18 18:26:55 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-18 18:26:55 (GMT)
commit2d65b5542bf788b0da29194f49c4458d9d9fdf24 (patch)
tree28d3bf58061e3979217442993c27b34293f3b85c
parent5bb8a155939865d213aca444c05cc6f355202232 (diff)
downloadcpython-2d65b5542bf788b0da29194f49c4458d9d9fdf24.zip
cpython-2d65b5542bf788b0da29194f49c4458d9d9fdf24.tar.gz
cpython-2d65b5542bf788b0da29194f49c4458d9d9fdf24.tar.bz2
Fix intptr_t fallback for Py_ssize_t.
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index f3ba488..9111d86 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -88,7 +88,7 @@ typedef PY_LONG_LONG Py_intptr_t;
#ifdef HAVE_SSIZE_T
typedef ssize_t Py_ssize_t;
#elif SIZEOF_VOID_P == SIZEOF_SIZE_T
-typedef Py_uintptr_t Py_ssize_t;
+typedef Py_intptr_t Py_ssize_t;
#else
# error "Python needs a typedef for Py_ssize_t in pyport.h."
#endif