Skip to content

Commit 485427b

Browse files
author
Erlend E. Aasland
committed
pythongh-90667: fix incompatible pointer type warnings
1 parent bcf14ae commit 485427b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Include/internal/pycore_object.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ _Py_DECREF_SPECIALIZED(PyObject *op, const destructor destruct)
4747
destruct(op);
4848
}
4949
}
50+
#define _Py_DECREF_SPECIALIZED(op, destruct) \
51+
_Py_DECREF_SPECIALIZED((op), (const destructor)(destruct))
5052

5153
static inline void
5254
_Py_DECREF_NO_DEALLOC(PyObject *op)

0 commit comments

Comments
 (0)