]> granicus.if.org Git - python/commitdiff
Fix intptr_t fallback for Py_ssize_t.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 18 Feb 2006 18:26:55 +0000 (18:26 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 18 Feb 2006 18:26:55 +0000 (18:26 +0000)
Include/pyport.h

index f3ba4886084e663c4b34ada883800a08ac169b59..9111d8622858c91ae55711967df740eef258fe91 100644 (file)
@@ -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