these variables ought to be Py_ssize_t

This commit is contained in:
Benjamin Peterson 2014-09-29 19:12:26 -04:00
parent 42ff105539
commit d48bc9468f
1 changed files with 1 additions and 1 deletions

View File

@ -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;