From: Martin v. Löwis Date: Sat, 18 Feb 2006 18:26:55 +0000 (+0000) Subject: Fix intptr_t fallback for Py_ssize_t. X-Git-Tag: v2.5a0~615 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d65b5542bf788b0da29194f49c4458d9d9fdf24;p=python Fix intptr_t fallback for Py_ssize_t. --- 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