summaryrefslogtreecommitdiff
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:37:16 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:37:16 +0000
commitea615bf5d1d108608a0e287b49cf062887e09a03 (patch)
tree63690c5876f149addb2f90474f80a8ed02c41730 /Python/symtable.c
parente035b907ea2beef5cebb34c8cdee3af0229ead7b (diff)
downloadcpython-ea615bf5d1d108608a0e287b49cf062887e09a03.tar.gz
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 7f3f5db9e1..fd95bd56dc 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;