Skip to content

Commit 487fdbe

Browse files
authored
GH-125174: Fix compiler warning (GH-127860)
Fix compiler warning
1 parent 292afd1 commit 487fdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ PyAPI_FUNC(void) _Py_SetImmortalUntracked(PyObject *op);
184184

185185
// Makes an immortal object mortal again with the specified refcnt. Should only
186186
// be used during runtime finalization.
187-
static inline void _Py_SetMortal(PyObject *op, Py_ssize_t refcnt)
187+
static inline void _Py_SetMortal(PyObject *op, short refcnt)
188188
{
189189
if (op) {
190190
assert(_Py_IsImmortal(op));

0 commit comments

Comments
 (0)