summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/hardware.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/include/hardware.h')
-rw-r--r--src/third_party/wiredtiger/src/include/hardware.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/src/include/hardware.h b/src/third_party/wiredtiger/src/include/hardware.h
index 753874fd87f..1c7a15be6b7 100644
--- a/src/third_party/wiredtiger/src/include/hardware.h
+++ b/src/third_party/wiredtiger/src/include/hardware.h
@@ -41,14 +41,14 @@
} while (!__wt_atomic_cas16(&(p)->flags_atomic, __orig, __orig | (uint16_t)(mask))); \
} while (0)
-#define F_CLR_ATOMIC_16(p, mask) \
- do { \
- uint16_t __orig; \
- if (!F_ISSET_ATOMIC_16(p, mask)) \
- break; \
- do { \
- __orig = (p)->flags_atomic; \
- } while (!__wt_atomic_cas16(&(p)->flags_atomic, __orig, __orig & ~(uint16_t)(mask))); \
+#define F_CLR_ATOMIC_16(p, mask) \
+ do { \
+ uint16_t __orig; \
+ if (!F_ISSET_ATOMIC_16(p, mask)) \
+ break; \
+ do { \
+ __orig = (p)->flags_atomic; \
+ } while (!__wt_atomic_cas16(&(p)->flags_atomic, __orig, __orig & (uint16_t)(~(mask)))); \
} while (0)
/*