◐ Shell
clean mode source ↗

bpo-26219: Fix compiler warning in _PyCode_InitOpcache() by vstinner · Pull Request #13997 · python/cpython

Fix MSVC warning:

    objects\codeobject.c(285): warning C4244: '=':
    conversion from 'Py_ssize_t' to 'unsigned char',
    possible loss of data

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 12, 2019
)

Fix MSVC warning:

    objects\codeobject.c(285): warning C4244: '=':
    conversion from 'Py_ssize_t' to 'unsigned char',
    possible loss of data
(cherry picked from commit 376ce98)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

vstinner added a commit that referenced this pull request

Jun 12, 2019
…H-14000)

Fix MSVC warning:

    objects\codeobject.c(285): warning C4244: '=':
    conversion from 'Py_ssize_t' to 'unsigned char',
    possible loss of data
(cherry picked from commit 376ce98)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019
)

Fix MSVC warning:

    objects\codeobject.c(285): warning C4244: '=':
    conversion from 'Py_ssize_t' to 'unsigned char',
    possible loss of data

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
)

Fix MSVC warning:

    objects\codeobject.c(285): warning C4244: '=':
    conversion from 'Py_ssize_t' to 'unsigned char',
    possible loss of data