Blame fix-test_structmember-on-64bit-bigendian.patch

edea14d
Index: Modules/_testcapimodule.c
edea14d
===================================================================
edea14d
--- Modules/_testcapimodule.c	(revision 85001)
edea14d
+++ Modules/_testcapimodule.c	(working copy)
edea14d
@@ -5,6 +5,7 @@
edea14d
  * standard Python regression test, via Lib/test/test_capi.py.
edea14d
  */
edea14d
 
edea14d
+#define PY_SSIZE_T_CLEAN
edea14d
 #include "Python.h"
edea14d
 #include <float.h>
edea14d
 #include "structmember.h"
edea14d
@@ -593,7 +594,7 @@
edea14d
 {
edea14d
     PyObject *tuple, *obj;
edea14d
     Py_UNICODE *value;
edea14d
-    int len;
edea14d
+    Py_ssize_t len;
edea14d
 
edea14d
     /* issue4122: Undefined reference to _Py_ascii_whitespace on Windows */
edea14d
     /* Just use the macro and check that it compiles */