summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-09-29 23:12:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-09-29 23:12:26 (GMT)
commitd48bc9468f75e57249da5e3518c42d4c8b83ba29 (patch)
tree7f9ff33b60f11c3b7b09924a3f1fbf5869485c55 /Objects
parent42ff105539bedfeb8e9a8cb9b8133ac15e027e6f (diff)
downloadcpython-d48bc9468f75e57249da5e3518c42d4c8b83ba29.zip
cpython-d48bc9468f75e57249da5e3518c42d4c8b83ba29.tar.gz
cpython-d48bc9468f75e57249da5e3518c42d4c8b83ba29.tar.bz2
these variables ought to be Py_ssize_t
Diffstat (limited to 'Objects')
-rw-r--r--Objects/bytesobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index cad22c8..32c5d71 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -584,7 +584,7 @@ PyBytes_Repr(PyObject *obj, int smartquotes)
{
register PyBytesObject* op = (PyBytesObject*) obj;
Py_ssize_t i, length = Py_SIZE(op);
- size_t newsize, squotes, dquotes;
+ Py_ssize_t newsize, squotes, dquotes;
PyObject *v;
unsigned char quote, *s, *p;