summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2022-04-20 15:15:45 (GMT)
committerGitHub <noreply@github.com>2022-04-20 15:15:45 (GMT)
commitd7d7e6c00778d234fda2c2229faccec5e8f48643 (patch)
tree8a7f85567b25ffba3aae4ada3f640a1859a57c02 /Objects/longobject.c
parentb8812c9ca3f6864a233574001e16f1b9e92daf6e (diff)
downloadcpython-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.c2
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