[Python-checkins] r42421 - python/trunk/Objects/stringobject.c
thomas.wouters
python-checkins at python.org
Thu Feb 16 16:59:13 CET 2006
Author: thomas.wouters
Date: Thu Feb 16 16:59:12 2006
New Revision: 42421
Modified:
python/trunk/Objects/stringobject.c
Log:
Use Py_ssize_t in helper function between Py_ssize_t-using functions.
Modified: python/trunk/Objects/stringobject.c
==============================================================================
--- python/trunk/Objects/stringobject.c (original)
+++ python/trunk/Objects/stringobject.c Thu Feb 16 16:59:12 2006
@@ -3575,9 +3575,9 @@
/* 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)
More information about the Python-checkins
mailing list