projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4de69e
)
Use Py_ssize_t in helper function between Py_ssize_t-using functions.
author
Thomas Wouters
<thomas@python.org>
Thu, 16 Feb 2006 15:59:12 +0000
(15:59 +0000)
committer
Thomas Wouters
<thomas@python.org>
Thu, 16 Feb 2006 15:59:12 +0000
(15:59 +0000)
Objects/stringobject.c
patch
|
blob
|
history
diff --git
a/Objects/stringobject.c
b/Objects/stringobject.c
index 733d3422e60aef247a1987554d886da0d794fcb9..84803083745094e0450e86810a44e4572223df3a 100644
(file)
--- 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, in
t *p_argidx)
+getnextarg(PyObject *args,
Py_ssize_t arglen, Py_ssize_
t *p_argidx)
{
-
in
t argidx = *p_argidx;
+
Py_ssize_
t argidx = *p_argidx;
if (argidx < arglen) {
(*p_argidx)++;
if (arglen < 0)