diff Python/errors.c @ 36521:30aef3ce2b26 legacy-trunk

Use Py_ssize_t to count the
author Martin v. Löwis <martin@v.loewis.de>
date Thu, 16 Feb 2006 14:37:16 +0000
parents ed4dc05ea4b8
children e3248f1fc54d
line wrap: on
line diff
--- a/Python/errors.c	Thu Feb 16 14:35:38 2006 +0000
+++ b/Python/errors.c	Thu Feb 16 14:37:16 2006 +0000
@@ -83,7 +83,7 @@
 		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 */