mirror of https://github.com/python/cpython
these variables ought to be Py_ssize_t
This commit is contained in:
parent
42ff105539
commit
d48bc9468f
|
@ -584,7 +584,7 @@ PyBytes_Repr(PyObject *obj, int smartquotes)
|
||||||
{
|
{
|
||||||
register PyBytesObject* op = (PyBytesObject*) obj;
|
register PyBytesObject* op = (PyBytesObject*) obj;
|
||||||
Py_ssize_t i, length = Py_SIZE(op);
|
Py_ssize_t i, length = Py_SIZE(op);
|
||||||
size_t newsize, squotes, dquotes;
|
Py_ssize_t newsize, squotes, dquotes;
|
||||||
PyObject *v;
|
PyObject *v;
|
||||||
unsigned char quote, *s, *p;
|
unsigned char quote, *s, *p;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue