From: Benjamin Peterson Date: Mon, 29 Sep 2014 23:12:26 +0000 (-0400) Subject: these variables ought to be Py_ssize_t X-Git-Tag: v3.3.6rc1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d48bc9468f75e57249da5e3518c42d4c8b83ba29;p=thirdparty%2FPython%2Fcpython.git these variables ought to be Py_ssize_t --- diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index cad22c8c031f..32c5d71ecd1c 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;