diff options
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index f8b83c9..6566fde 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1294,7 +1294,7 @@ syntaxerror(struct tok_state *tok, const char *format, ...) va_end(vargs); PyErr_SyntaxLocationObject(tok->filename, tok->lineno, - tok->cur - tok->line_start); + (int)(tok->cur - tok->line_start)); tok->done = E_ERROR; #else tok->done = E_TOKEN; |