Skip to content

Commit 9254b81

Browse files
authored
[tsan] Fix typo in type (llvm#115769)
Introduced with llvm#114931 Fixes golang/go#70283
1 parent 77ddcf7 commit 9254b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ SANITIZER_INTERFACE_ATTRIBUTE
987987
void __tsan_go_atomic64_compare_exchange(ThreadState *thr, uptr cpc, uptr pc,
988988
u8 *a) {
989989
a64 cmp = *(a64 *)(a + 8);
990-
a32 cur = AtomicGoRet<OpCAS>(thr, cpc, pc, mo_acq_rel, mo_acquire, *(a64 **)a,
990+
a64 cur = AtomicGoRet<OpCAS>(thr, cpc, pc, mo_acq_rel, mo_acquire, *(a64 **)a,
991991
cmp, *(a64 *)(a + 16));
992992
*(bool *)(a + 24) = (cur == cmp);
993993
}

0 commit comments

Comments
 (0)