Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead
This commit is contained in:
parent
ed7e222454
commit
9d6f9367ea
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue