]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41428: Fix compiler warning in unionobject.c (GH-22416)
authorVictor Stinner <vstinner@python.org>
Sat, 26 Sep 2020 10:48:41 +0000 (12:48 +0200)
committerGitHub <noreply@github.com>
Sat, 26 Sep 2020 10:48:41 +0000 (12:48 +0200)
commitd73cf7ca85fb60b739e671597aabe72cc36d397a
tree41036a0686438e0c2d878ab0095be8a78d4d5a59
parent9fdb76c34c44ac27531229b72aa2aa424d10e846
bpo-41428: Fix compiler warning in unionobject.c (GH-22416)

Use Py_ssize_t type rather than int, to store lengths in
unionobject.c. Fix the warning:

Objects\unionobject.c(205,1): warning C4244: 'initializing':
conversion from 'Py_ssize_t' to 'int', possible loss of data
Objects/unionobject.c