Commit b38b6ab6 authored by Victor Stinner's avatar Victor Stinner

Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead

parent 88dd00e3
......@@ -831,7 +831,7 @@ readinst(char *buf, int buf_size, PyObject *meth)
if (len > buf_size) {
PyErr_Format(PyExc_ValueError,
"read() returned too much data: "
"%i bytes requested, %zi returned",
"%i bytes requested, %zd returned",
buf_size, len);
goto finally;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment