File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
test/sanitizer_suppressions Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class bit_packed_atomic_flags
89
89
*/
90
90
inline void bit_set (uint32_t s)
91
91
{
92
- mem[s >> 3 ].fetch_or (1 << (s & 7 ), std::memory_order_relaxed);
92
+ mem[s >> 3 ].fetch_or (uint8_t ( 1 << (s & 7 ) ), std::memory_order_relaxed);
93
93
}
94
94
95
95
/* * bit_unset marks an entry as something that should not be overwritten.
@@ -100,7 +100,7 @@ class bit_packed_atomic_flags
100
100
*/
101
101
inline void bit_unset (uint32_t s)
102
102
{
103
- mem[s >> 3 ].fetch_and (~(1 << (s & 7 )), std::memory_order_relaxed);
103
+ mem[s >> 3 ].fetch_and (uint8_t ( ~(1 << (s & 7 ) )), std::memory_order_relaxed);
104
104
}
105
105
106
106
/* * bit_is_set queries the table for discardability at `s`.
Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ implicit-signed-integer-truncation:addrman.cpp
86
86
implicit-signed-integer-truncation:addrman.h
87
87
implicit-signed-integer-truncation:chain.h
88
88
implicit-signed-integer-truncation:crypto/
89
- implicit-signed-integer-truncation:cuckoocache.h
90
89
implicit-signed-integer-truncation:leveldb/
91
90
implicit-signed-integer-truncation:node/miner.cpp
92
91
implicit-signed-integer-truncation:net.cpp
You can’t perform that action at this time.
0 commit comments