[Python-checkins] r42462 - python/trunk/Include/pyport.h

martin.v.loewis python-checkins at python.org
Sat Feb 18 19:26:55 CET 2006


Author: martin.v.loewis
Date: Sat Feb 18 19:26:55 2006
New Revision: 42462

Modified:
   python/trunk/Include/pyport.h
Log:
Fix intptr_t fallback for Py_ssize_t.


Modified: python/trunk/Include/pyport.h
==============================================================================
--- python/trunk/Include/pyport.h	(original)
+++ python/trunk/Include/pyport.h	Sat Feb 18 19:26:55 2006
@@ -88,7 +88,7 @@
 #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


More information about the Python-checkins mailing list