Skip to content

Fix Windows compiler warning in tokenize.c#8359

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:tokenize_warn
Jul 21, 2018
Merged

Fix Windows compiler warning in tokenize.c#8359
vstinner merged 1 commit into
python:masterfrom
vstinner:tokenize_warn

Conversation

@vstinner

Copy link
Copy Markdown
Member

Fix the following warning on Windows 64-bit:

parser\tokenizer.c(1297): warning C4244: 'function': conversion from
'__int64' to 'int', possible loss of data.

Fix the following warning on Windows:

parser\tokenizer.c(1297): warning C4244: 'function': conversion from
'__int64' to 'int', possible loss of data.
@vstinner

Copy link
Copy Markdown
Member Author

I checked in "VSTS: Windows-PR — Windows-PR_20180721.02 succeeded" logs that the warning is gone. AppVeyor compiles Python in 32-bit mode and so didn't have the warning, but "VSTS: Windows-PR" builds Python in 64-bit mode.

@vstinner vstinner merged commit c884616 into python:master Jul 21, 2018
@vstinner vstinner deleted the tokenize_warn branch July 21, 2018 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants