diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2022-04-20 15:15:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 15:15:45 (GMT) |
commit | d7d7e6c00778d234fda2c2229faccec5e8f48643 (patch) | |
tree | 8a7f85567b25ffba3aae4ada3f640a1859a57c02 /Objects/longobject.c | |
parent | b8812c9ca3f6864a233574001e16f1b9e92daf6e (diff) | |
download | cpython-d7d7e6c00778d234fda2c2229faccec5e8f48643.zip cpython-d7d7e6c00778d234fda2c2229faccec5e8f48643.tar.gz cpython-d7d7e6c00778d234fda2c2229faccec5e8f48643.tar.bz2 |
Cast to (destructor) to fix compiler warnings (GH-91711)
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index c104dcc..660824f 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -40,7 +40,7 @@ static inline void _Py_DECREF_INT(PyLongObject *op) { assert(PyLong_CheckExact(op)); - _Py_DECREF_SPECIALIZED((PyObject *)op, PyObject_Free); + _Py_DECREF_SPECIALIZED((PyObject *)op, (destructor)PyObject_Free); } static inline int |