diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:37:16 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:37:16 +0000 |
commit | ea615bf5d1d108608a0e287b49cf062887e09a03 (patch) | |
tree | 63690c5876f149addb2f90474f80a8ed02c41730 /Python/errors.c | |
parent | e035b907ea2beef5cebb34c8cdee3af0229ead7b (diff) | |
download | cpython-ea615bf5d1d108608a0e287b49cf062887e09a03.tar.gz |
Use Py_ssize_t to count the
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index ce36fc1dee..ace63ffd81 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -83,7 +83,7 @@ PyErr_GivenExceptionMatches(PyObject *err, PyObject *exc) return 0; } if (PyTuple_Check(exc)) { - int i, n; + Py_ssize_t i, n; n = PyTuple_Size(exc); for (i = 0; i < n; i++) { /* Test recursively */ |