diff --git a/libgo/runtime/lfstack.c b/libgo/runtime/lfstack.c index 0f8ea6ea6bc..783595abe7a 100644 --- a/libgo/runtime/lfstack.c +++ b/libgo/runtime/lfstack.c @@ -15,6 +15,15 @@ # define PTR_BITS 32 #endif #define PTR_MASK ((1ull<pushcnt++; - new = (uint64)(uintptr)node|(((uint64)node->pushcnt)<pushcnt&CNT_MASK)<next = (LFNode*)(uintptr)(old&PTR_MASK); @@ -50,7 +59,7 @@ runtime_lfstackpop(uint64 *head) node2 = runtime_atomicloadp(&node->next); new = 0; if(node2 != nil) - new = (uint64)(uintptr)node2|(((uint64)node2->pushcnt)<pushcnt&CNT_MASK)<