summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 22:00:04 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-04 22:00:04 (GMT)
commit9d6f9367ead562cee010a5eae085660508d75839 (patch)
tree5abb9f5a2fbbc2888577a40dbfdac5bd0aa094a8 /Modules/pyexpat.c
parented7e2224542a595a8c1a5e9be92a467983329a28 (diff)
downloadcpython-9d6f9367ead562cee010a5eae085660508d75839.zip
cpython-9d6f9367ead562cee010a5eae085660508d75839.tar.gz
cpython-9d6f9367ead562cee010a5eae085660508d75839.tar.bz2
Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
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;
}