Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d90e5ae

Browse files
committed
Cast return type to PyObject*
1 parent 43a81b0 commit d90e5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/structseq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ structseq_replace(PyStructSequence *self, PyObject *args, PyObject *kwargs)
431431
}
432432
}
433433

434-
return result;
434+
return (PyObject *)result;
435435

436436
error:
437437
Py_XDECREF(result);

0 commit comments

Comments
 (0)