]> granicus.if.org Git - python/commit
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13997) (GH-14000)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Jun 2019 10:14:43 +0000 (03:14 -0700)
committerVictor Stinner <vstinner@redhat.com>
Wed, 12 Jun 2019 10:14:43 +0000 (12:14 +0200)
commit996e52623af3854552d41751e0c2522bc0a7e84f
tree77bcdcd59dc5fb5aacc3082c2fceed4c2d7a82b1
parent878227e7217f3363f9c095b7fb8c1dbdde1ec34f
bpo-26219: Fix compiler warning in _PyCode_InitOpcache() (GH-13997) (GH-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 376ce9852eec4e97745c723f0dd0fe64383c6cd3)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Objects/codeobject.c