summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-09-23 23:25:54 +0200
committerGitHub <noreply@github.com>2020-09-23 23:25:54 +0200
commitd67de0a30d76c6a28056bae22fd7d13f2e111b77 (patch)
treeb23fec55f92f6c27707e3125b06ea9eeb1ad2a2e /Python/compile.c
parentbbeb223e9a5e9f9374df384efa386b4068a65c0e (diff)
downloadcpython-git-d67de0a30d76c6a28056bae22fd7d13f2e111b77.tar.gz
bpo-41428: Fix compiler warnings in unionobject.c (GH-22388)
Use Py_ssize_t type rather than int, to store lengths in unionobject.c. Fix warnings: Objects\unionobject.c(189,71): warning C4244: '+=': conversion from 'Py_ssize_t' to 'int', possible loss of data Objects\unionobject.c(182,1): warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data Objects\unionobject.c(205,1): warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data Objects\unionobject.c(437,1): warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions