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 a1fbbde commit c739700Copy full SHA for c739700
source/common/unified_malloc_framework/src/utils/utils.h
@@ -43,7 +43,7 @@ static __inline unsigned char util_mssb_index(long long value) {
43
// There is no good way to do atomic_load on windows...
44
#define util_atomic_load_acquire(object, dest) \
45
do { \
46
- *dest = InterlockedOr64Acquire((LONG64 volatile *)dest, 0); \
+ *dest = InterlockedOr64Acquire((LONG64 volatile *)object, 0); \
47
} while (0)
48
49
#define util_atomic_store_release(object, desired) \
0 commit comments