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

bpo-9566: Fix compiler warnings in pyexpat.c #10654

Merged
merged 1 commit into from Nov 22, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 22, 2018

Explicit cast a intptr_t to int to fix two warnings
on 64-bit Windows:

Modules\pyexpat.c(1181): warning C4244: 'initializing':
conversion from '__int64' to 'int', possible  loss of data

Modules\pyexpat.c(1192): warning C4244: 'initializing':
conversion from '__int64' to 'int', possible  loss of data

https://bugs.python.org/issue9566

Explicit cast a intptr_t to int to fix two warnings
on 64-bit Windows:

    Modules\pyexpat.c(1181): warning C4244: 'initializing':
    conversion from '__int64' to 'int', possible  loss of data

    Modules\pyexpat.c(1192): warning C4244: 'initializing':
    conversion from '__int64' to 'int', possible  loss of data
@vstinner vstinner merged commit 28f468c into python:master Nov 22, 2018
@vstinner vstinner deleted the pyexpat_warn branch Nov 22, 2018
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.

None yet

3 participants