From d48bc9468f75e57249da5e3518c42d4c8b83ba29 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 29 Sep 2014 19:12:26 -0400 Subject: [PATCH] these variables ought to be Py_ssize_t --- Objects/bytesobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;