diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2022-04-20 11:15:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 16:15:45 +0100 |
commit | d7d7e6c00778d234fda2c2229faccec5e8f48643 (patch) | |
tree | 8a7f85567b25ffba3aae4ada3f640a1859a57c02 /Objects/longobject.c | |
parent | b8812c9ca3f6864a233574001e16f1b9e92daf6e (diff) | |
download | cpython-git-d7d7e6c00778d234fda2c2229faccec5e8f48643.tar.gz |
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 c104dcc14f..660824f906 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 |