diff options
author | Thomas Wouters <thomas@python.org> | 2006-02-16 15:59:12 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-02-16 15:59:12 (GMT) |
commit | 977485d8883fc180e2e12d1a4a8e762cf89fc0ca (patch) | |
tree | 72d9b399a0a2987341d16d4b5693f60a81dc1146 /Objects | |
parent | f4de69e34d53821170a373711638d6ad9fd9cff1 (diff) | |
download | cpython-977485d8883fc180e2e12d1a4a8e762cf89fc0ca.zip cpython-977485d8883fc180e2e12d1a4a8e762cf89fc0ca.tar.gz cpython-977485d8883fc180e2e12d1a4a8e762cf89fc0ca.tar.bz2 |
Use Py_ssize_t in helper function between Py_ssize_t-using functions.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/stringobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 733d342..8480308 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -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) |