Cast to (destructor) to fix compiler warnings (GH-91711)

This commit is contained in:
Dennis Sweeney 2022-04-20 11:15:45 -04:00 committed by GitHub
parent b8812c9ca3
commit d7d7e6c007
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 12 deletions

View file

@ -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