Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix int/ssize_t mismatch in tests for the file shim
Using "s#" in PyArg_ParseTuple caused test failures on big-endian architectures. The choice between int and Py_ssize_t is governed by the PY_SSIZE_T_CLEAN macro, but in a header file we don't control. the macro. Use "s*" with Py_buffer instead. Reported by Dan Horák here: https://bugzilla.redhat.com/show_bug.cgi?id=1351971
- Loading branch information