commit | d96ee909934f3855135589e0e8d6ece1912c1f22 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 14:37:16 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 14:37:16 2006 +0000 |
tree | 831f7231c28aecc2be637bc80994e6ccabd009f2 | |
parent | f5adf1eb72c755c3f6183199656f18b12a1cb952 [diff] [blame] |
Use Py_ssize_t to count the
diff --git a/Python/symtable.c b/Python/symtable.c index 7f3f5db..fd95bd5 100644 --- a/Python/symtable.c +++ b/Python/symtable.c
@@ -715,7 +715,7 @@ static int symtable_exit_block(struct symtable *st, void *ast) { - int end; + Py_ssize_t end; Py_DECREF(st->st_cur); end = PyList_GET_SIZE(st->st_stack) - 1;