Commit 46a97920 authored by Pablo Galindo's avatar Pablo Galindo Committed by GitHub

bpo-36049: Fix compiler warning in Python/ast.c (GH-11949)

parent 3bacf612
......@@ -3872,7 +3872,7 @@ ast_for_suite(struct compiling *c, const node *n)
static void
get_last_end_pos(asdl_seq *s, int *end_lineno, int *end_col_offset)
{
int tot = asdl_seq_LEN(s);
Py_ssize_t tot = asdl_seq_LEN(s);
// There must be no empty suites.
assert(tot > 0);
stmt_ty last = asdl_seq_GET(s, tot - 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment