summaryrefslogtreecommitdiffstats
path: root/Objects/structseq.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:32:27 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:32:27 (GMT)
commiteb079f1c2533bcefcab3ef4c07b800e5bd37239f (patch)
tree32ce8e1eafb2e93ef977649e3cb60a3c0ec0fc00 /Objects/structseq.c
parentad0a4629beac0600c4c4c3167b0d68be57ca674e (diff)
downloadcpython-eb079f1c2533bcefcab3ef4c07b800e5bd37239f.zip
cpython-eb079f1c2533bcefcab3ef4c07b800e5bd37239f.tar.gz
cpython-eb079f1c2533bcefcab3ef4c07b800e5bd37239f.tar.bz2
Use Py_ssize_t for counts and sizes.
Convert Py_ssize_t using PyInt_FromSsize_t
Diffstat (limited to 'Objects/structseq.c')
-rw-r--r--Objects/structseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c
index 023a1fd..b266d6a 100644
--- a/Objects/structseq.c
+++ b/Objects/structseq.c
@@ -247,7 +247,7 @@ structseq_reduce(PyStructSequence* self)
PyObject* tup;
PyObject* dict;
PyObject* result;
- long n_fields, n_visible_fields, n_unnamed_fields;
+ Py_ssize_t n_fields, n_visible_fields, n_unnamed_fields;
int i;
n_fields = REAL_SIZE(self);