summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2022-04-20 11:15:45 -0400
committerGitHub <noreply@github.com>2022-04-20 16:15:45 +0100
commitd7d7e6c00778d234fda2c2229faccec5e8f48643 (patch)
tree8a7f85567b25ffba3aae4ada3f640a1859a57c02 /Objects/longobject.c
parentb8812c9ca3f6864a233574001e16f1b9e92daf6e (diff)
downloadcpython-git-d7d7e6c00778d234fda2c2229faccec5e8f48643.tar.gz
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 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