Commit 8895a530 authored by Thomas Wouters's avatar Thomas Wouters

Use Py_ssize_t in helper function between Py_ssize_t-using functions.

parent 004d63a3
......@@ -3575,9 +3575,9 @@ _PyString_Resize(PyObject **pv, Py_ssize_t newsize)
/* Helpers for formatstring */
static PyObject *
getnextarg(PyObject *args, int arglen, int *p_argidx)
getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx)
{
int argidx = *p_argidx;
Py_ssize_t argidx = *p_argidx;
if (argidx < arglen) {
(*p_argidx)++;
if (arglen < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment