From 9d6f9367ead562cee010a5eae085660508d75839 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 4 Jan 2011 22:00:04 +0000 Subject: Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead --- Modules/pyexpat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 21ab088..ae98ef7 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; } -- cgit v0.12