summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-18 18:26:55 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-02-18 18:26:55 +0000
commit2d65b5542bf788b0da29194f49c4458d9d9fdf24 (patch)
tree28d3bf58061e3979217442993c27b34293f3b85c /Include
parent5bb8a155939865d213aca444c05cc6f355202232 (diff)
downloadcpython-git-2d65b5542bf788b0da29194f49c4458d9d9fdf24.tar.gz
Fix intptr_t fallback for Py_ssize_t.
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index f3ba488608..9111d86228 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