Use Py_ssize_t to count the

This commit is contained in:
Martin v. Löwis 2006-02-16 14:37:16 +00:00
parent f5adf1eb72
commit d96ee90993
7 changed files with 24 additions and 22 deletions

View file

@ -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;