]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90815: Fix mimalloc atomic.h on Windows arm64 (#111527)
authorVictor Stinner <vstinner@python.org>
Mon, 30 Oct 2023 22:33:49 +0000 (23:33 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Oct 2023 22:33:49 +0000 (22:33 +0000)
commit801741ff8155623fe6483971e68f30ff654323bc
tree22b6513b9511cbcf4f67f5f256397aa8956df71d
parent1673e440174361568688c7374a32fac3e7785175
gh-90815: Fix mimalloc atomic.h on Windows arm64 (#111527)

mi_atomic_load_explicit() casts 'p' argument to drop the 'const'
qualifier on Windows arm64 platform. Fix the compiler warning:

    'function': different 'const' qualifiers
    (compiling source file ..\Objects\mimalloc\options.c)
Include/internal/mimalloc/mimalloc/atomic.h