]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h (#124177)
authorVictor Stinner <vstinner@python.org>
Tue, 17 Sep 2024 15:35:40 +0000 (17:35 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2024 15:35:40 +0000 (15:35 +0000)
commitec08aa1fe4cb010ca4ff6816de5d446bf19210ef
treee8826df9f5891ca165ea947a122b8d3ee1457b65
parentab80c6b402eeec379315fa3df111f6bec2de6900
gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h (#124177)

Change also the fix for pycore_gc.h and pycore_stackref.h:
declare constants as uintptr_t, rather than casting constants.
Include/internal/pycore_gc.h
Include/internal/pycore_long.h
Include/internal/pycore_object.h
Include/internal/pycore_stackref.h
Tools/build/.warningignore_macos
Tools/build/.warningignore_ubuntu