Skip to content

bpo-33387: Fix compiler warning in frame_block_unwind() #18099

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

Merged
merged 1 commit into from
Jan 21, 2020
Merged

bpo-33387: Fix compiler warning in frame_block_unwind() #18099

merged 1 commit into from
Jan 21, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 21, 2020

Replace int with intptr_t to fix the warning:

objects\frameobject.c(341): warning C4244: 'initializing':
conversion from '__int64' to 'int', possible loss of data

https://bugs.python.org/issue33387

Replace int with intptr_t to fix the warning:

    objects\frameobject.c(341): warning C4244: 'initializing':
    conversion from '__int64' to 'int', possible loss of data
@vstinner vstinner merged commit 629023c into python:master Jan 21, 2020
@vstinner vstinner deleted the frame_warn branch January 21, 2020 11:47
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Replace int with intptr_t to fix the warning:

    objects\frameobject.c(341): 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