]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38156: Fix compiler warning in PyOS_StdioReadline() (GH-21721)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Aug 2020 00:56:54 +0000 (17:56 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 00:56:54 +0000 (17:56 -0700)
commitb6724be8047ac2404aab870d35d8f95bb0b7036a
treea2f6a71f824f62e3d768e80b400202ad1416ab39
parent3c4fc864ce931db90214c54d742062a80dbef7c4
bpo-38156: Fix compiler warning in PyOS_StdioReadline() (GH-21721)

incr cannot be larger than INT_MAX: downcast to int explicitly.
(cherry picked from commit bde48fd8110cc5f128d5db44810d17811e328a24)

Co-authored-by: Victor Stinner <vstinner@python.org>
Parser/myreadline.c