We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bits
_Py_TryIncrefCompareStackRef
1 parent 151d1bf commit c824d8eCopy full SHA for c824d8e
Include/internal/pycore_stackref.h
@@ -668,7 +668,7 @@ static inline int
668
_Py_TryIncrefCompareStackRef(PyObject **src, PyObject *op, _PyStackRef *out)
669
{
670
if (_PyObject_HasDeferredRefcount(op)) {
671
- *out = (_PyStackRef){ .bits = (intptr_t)op | Py_TAG_DEFERRED };
+ *out = (_PyStackRef){ .bits = (uintptr_t)op | Py_TAG_DEFERRED };
672
return 1;
673
}
674
if (_Py_TryIncrefCompare(src, op)) {
0 commit comments