Author: Armin Rigo <[email protected]>
Branch:
Changeset: r84931:50777dc45a59
Date: 2016-06-05 10:10 +0200
http://bitbucket.org/pypy/pypy/changeset/50777dc45a59/
Log: 32-bit fix
diff --git a/pypy/module/cpyext/test/test_bytearrayobject.py
b/pypy/module/cpyext/test/test_bytearrayobject.py
--- a/pypy/module/cpyext/test/test_bytearrayobject.py
+++ b/pypy/module/cpyext/test/test_bytearrayobject.py
@@ -30,7 +30,8 @@
#endif
if(s->ob_type->tp_basicsize != expected_size)
{
- printf("tp_basicsize==%ld\\n", s->ob_type->tp_basicsize);
+ printf("tp_basicsize==%ld\\n",
+ (long)s->ob_type->tp_basicsize);
result = 0;
}
Py_DECREF(s);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit