mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
GH-125174: Fix compiler warning (GH-127860)
Fix compiler warning
This commit is contained in:
parent
292afd1d51
commit
487fdbed40
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ PyAPI_FUNC(void) _Py_SetImmortalUntracked(PyObject *op);
|
|||
|
||||
// Makes an immortal object mortal again with the specified refcnt. Should only
|
||||
// be used during runtime finalization.
|
||||
static inline void _Py_SetMortal(PyObject *op, Py_ssize_t refcnt)
|
||||
static inline void _Py_SetMortal(PyObject *op, short refcnt)
|
||||
{
|
||||
if (op) {
|
||||
assert(_Py_IsImmortal(op));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue