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.
1 parent de9016c commit b54a5dbCopy full SHA for b54a5db
Include/internal/pycore_object.h
@@ -614,7 +614,7 @@ static inline PyObject *
614
_Py_XGetRef(PyObject **ptr)
615
{
616
for (;;) {
617
- PyObject *value = _Py_STATIC_CAST(PyObject*, _Py_atomic_load_ptr(ptr));
+ PyObject *value = _PyObject_CAST(_Py_atomic_load_ptr(ptr));
618
if (value == NULL) {
619
return value;
620
}
@@ -629,7 +629,7 @@ _Py_XGetRef(PyObject **ptr)
629
static inline PyObject *
630
_Py_TryXGetRef(PyObject **ptr)
631
632
633
634
635
0 commit comments