summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-22 11:40:03 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-04-22 11:40:03 (GMT)
commit6685128b973981ff57b577f09b0a38e0071d272e (patch)
treec4d5536244f91e6c818b2ceb6335c56386156629 /Python/ast.c
parent26fd9607c729f4dbe322967464834a2bce18c07d (diff)
downloadcpython-6685128b973981ff57b577f09b0a38e0071d272e.zip
cpython-6685128b973981ff57b577f09b0a38e0071d272e.tar.gz
cpython-6685128b973981ff57b577f09b0a38e0071d272e.tar.bz2
Fix more ssize_t issues.
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 0b3b485..353514c 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -3034,7 +3034,7 @@ decode_unicode(const char *s, size_t len, int rawmode, const char *encoding)
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);