Fix potential issue in MT.

This commit is contained in:
Patrick Pelissier committed 2017-03-24 18:02:34 +01:00
1 parent 73a8577258
commit 4e8e716c5a
1 file changed
+2 -1
+2 -1
View File
@@ -84,7 +84,8 @@
&& SNAPSHOTI_W(flags) != SNAPSHOTI_F(flags))
#define SNAPSHOTI_CONTRACT(snap) do { \
assert((snap) != NULL); \
SNAPSHOTI_FLAGS_CONTRACT((snap)->flags); \
uint_fast8_t f = (snap)->flags; \
SNAPSHOTI_FLAGS_CONTRACT(f); \
} while (0)
#define SNAPSHOTI_DEF2(name, type, oplist) \