b0a6ae18b3
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-1 - 2.7.3: refresh patch 102 (lib64); drop upstream patches 11 (ascii-to-lower), 115 (pydoc robustness), 145 (linux2), 148 (gdbm magic values), 151 (deadlock in fork); refresh patch 112 (debug build); revise patch 127 (test_structmember); fix test_gdb (patch 153); refresh patch 137 (distutils tests); add python2.pc to python-devel; regenerate the autotool intermediates patch (patch 300)
13 lines
607 B
Diff
13 lines
607 B
Diff
diff -up Python-2.7.3/Modules/_testcapimodule.c.fix-test_structmember-on-64bit-bigendian Python-2.7.3/Modules/_testcapimodule.c
|
|
--- Python-2.7.3/Modules/_testcapimodule.c.fix-test_structmember-on-64bit-bigendian 2012-04-09 19:07:33.000000000 -0400
|
|
+++ Python-2.7.3/Modules/_testcapimodule.c 2012-04-12 17:42:55.725766488 -0400
|
|
@@ -1813,7 +1813,7 @@ test_structmembers_new(PyTypeObject *typ
|
|
;
|
|
test_structmembers *ob;
|
|
const char *s = NULL;
|
|
- Py_ssize_t string_len = 0;
|
|
+ int string_len = 0;
|
|
ob = PyObject_New(test_structmembers, type);
|
|
if (ob == NULL)
|
|
return NULL;
|