Skip to content

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

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:pyexpat_warn
Nov 22, 2018
Merged

bpo-9566: Fix compiler warnings in pyexpat.c#10654
vstinner merged 1 commit intopython:masterfrom
vstinner:pyexpat_warn

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
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