From d96ee909934f3855135589e0e8d6ece1912c1f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 16 Feb 2006 14:37:16 +0000 Subject: Use Py_ssize_t to count the --- Python/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/errors.c') 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 */ -- cgit v1.2.1