]> granicus.if.org Git - python/commit
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13997)
authorVictor Stinner <vstinner@redhat.com>
Wed, 12 Jun 2019 02:41:16 +0000 (04:41 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2019 02:41:16 +0000 (04:41 +0200)
commit376ce9852eec4e97745c723f0dd0fe64383c6cd3
tree3fc93269e8a04705aa9f92a704780c1bb5a53f12
parenteb976e47e261760330c1bed224019b073b05e994
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13997)

Fix MSVC warning:

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