summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:37:16 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:37:16 (GMT)
commitd96ee909934f3855135589e0e8d6ece1912c1f22 (patch)
tree831f7231c28aecc2be637bc80994e6ccabd009f2 /Python/symtable.c
parentf5adf1eb72c755c3f6183199656f18b12a1cb952 (diff)
downloadcpython-d96ee909934f3855135589e0e8d6ece1912c1f22.zip
cpython-d96ee909934f3855135589e0e8d6ece1912c1f22.tar.gz
cpython-d96ee909934f3855135589e0e8d6ece1912c1f22.tar.bz2
Use Py_ssize_t to count the
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c2
1 files changed, 1 insertions, 1 deletions
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 @@ symtable_warn(struct symtable *st, char *msg, int lineno)
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;