diff Python/ast.c @ 37920:ce5585afc20f legacy-trunk

Fix more ssize_t issues.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 22 Apr 2006 11:40:03 +0000
parents 5e72b0c74100
children ab704b99e150
line wrap: on
line diff
--- a/Python/ast.c	Sat Apr 22 11:15:41 2006 +0000
+++ b/Python/ast.c	Sat Apr 22 11:40:03 2006 +0000
@@ -3034,7 +3034,7 @@
 			if (*s & 0x80) { /* XXX inefficient */
 				PyObject *w;
 				char *r;
-				int rn, i;
+				Py_ssize_t rn, i;
 				w = decode_utf8(&s, end, "utf-16-be");
 				if (w == NULL) {
 					Py_DECREF(u);