Fix potential issue in MT.
This commit is contained in:
1 parent
73a8577258
commit
4e8e716c5a
1 file changed
+2
-1
+2
-1
@@ -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) \
|
||||
|
||||
Reference in new issue
Block a user