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 b29dd88 commit 249c798Copy full SHA for 249c798
src/utils/utils_concurrency.h
@@ -75,7 +75,8 @@ static __inline unsigned char utils_mssb_index(long long value) {
75
// There is no good way to do atomic_load on windows...
76
#define utils_atomic_load_acquire(object, dest) \
77
do { \
78
- *dest = InterlockedOr64Acquire((LONG64 volatile *)object, 0); \
+ *(LONG64 *)dest = \
79
+ InterlockedOr64Acquire((LONG64 volatile *)object, 0); \
80
} while (0)
81
82
#define utils_atomic_store_release(object, desired) \
0 commit comments