Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows compiler warning in tokenize.c #8359

Merged
merged 1 commit into from
Jul 21, 2018
Merged

Fix Windows compiler warning in tokenize.c #8359

merged 1 commit into from
Jul 21, 2018

Conversation

vstinner
Copy link
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
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