diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index cad22c8c031..32c5d71ecd1 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;