]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33012: Fix compilation warnings in memoryobject.c and _collectionsmodule.c (GH...
authorStéphane Wirtel <stephane@wirtel.be>
Tue, 5 Mar 2019 15:10:53 +0000 (16:10 +0100)
committerVictor Stinner <vstinner@redhat.com>
Tue, 5 Mar 2019 15:10:53 +0000 (16:10 +0100)
commit359a2f3daba49fde0d3a07fb3c7a8b051c450d08
tree3c18e7e3eca5bb73d3da191cf4c643177fb2678d
parent5a02e0d1c8a526fc4e80a2fb8b4a9d5bc64c7d82
bpo-33012: Fix compilation warnings in memoryobject.c and _collectionsmodule.c (GH-12179)

Cast function pointers to (void(*)(void)) before casting to (PyCFunction)
to make "warning: cast between incompatible function types" false alarm quiet.
Modules/_collectionsmodule.c
Objects/memoryobject.c