Skip to content

Commit

Permalink
GH-125174: Fix compiler warning (GH-127860)
Browse files Browse the repository at this point in the history
Fix compiler warning
  • Loading branch information
markshannon authored Dec 12, 2024
1 parent 292afd1 commit 487fdbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/internal/pycore_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 487fdbe

Please sign in to comment.