From: Victor Stinner Date: Tue, 4 Jan 2011 22:00:04 +0000 (+0000) Subject: Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead X-Git-Tag: v3.2rc1~189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d6f9367ead562cee010a5eae085660508d75839;p=python Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 21ab0882ca..ae98ef721a 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -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; }