mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Cast to (destructor) to fix compiler warnings (GH-91711)
This commit is contained in:
parent
b8812c9ca3
commit
d7d7e6c007
2 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue