bpo-42864: Fix compiler warning in the tokenizer with the new paren stack for column numbers (GH-24266)

This commit is contained in:
Pablo Galindo 2021-01-20 12:53:52 +00:00 committed by GitHub
parent e982fe496b
commit ae7d3cd980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1820,7 +1820,7 @@ tok_get(struct tok_state *tok, const char **p_start, const char **p_end)
}
tok->parenstack[tok->level] = c;
tok->parenlinenostack[tok->level] = tok->lineno;
tok->parencolstack[tok->level] = tok->start - tok->line_start;
tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
tok->level++;
break;
case ')':