Skip to content

bpo-37802: Fix a compiler warning in longobject.c #16517

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
Oct 1, 2019
Merged

bpo-37802: Fix a compiler warning in longobject.c #16517

merged 1 commit into from
Oct 1, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 1, 2019

bpo-37802, bpo-38321: Fix the following warnings:

longobject.c(420): warning C4244: 'function': conversion from
'unsigned __int64' to 'sdigit', possible loss of data

longobject.c(428): warning C4267: 'function': conversion from
'size_t' to 'sdigit', possible loss of data

https://bugs.python.org/issue37802

bpo-37802, bpo-38321: Fix the following warnings:

    longobject.c(420): warning C4244: 'function': conversion from
    'unsigned __int64' to 'sdigit', possible loss of data

    longobject.c(428): warning C4267: 'function': conversion from
    'size_t' to 'sdigit', possible loss of data
@vstinner vstinner merged commit 6314abc into python:master Oct 1, 2019
@vstinner vstinner deleted the fix_longobj_warn branch October 1, 2019 11:29
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
bpo-37802, bpo-38321: Fix the following warnings:

    longobject.c(420): warning C4244: 'function': conversion from
    'unsigned __int64' to 'sdigit', possible loss of data

    longobject.c(428): warning C4267: 'function': conversion from
    'size_t' to 'sdigit', 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