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 @@ -96,7 +96,7 @@ base_uint<BITS>& base_uint<BITS>::operator/=(const base_uint& b)
96
96
while (shift >= 0 ) {
97
97
if (num >= div) {
98
98
num -= div;
99
- pn[shift / 32 ] |= (1 << (shift & 31 )); // set a bit of the result.
99
+ pn[shift / 32 ] |= (1U << (shift & 31 )); // set a bit of the result.
100
100
}
101
101
div >>= 1 ; // shift back.
102
102
shift--;
@@ -236,7 +236,7 @@ uint32_t arith_uint256::GetCompact(bool fNegative) const
236
236
nCompact >>= 8 ;
237
237
nSize++;
238
238
}
239
- assert ((nCompact & ~0x007fffff ) == 0 );
239
+ assert ((nCompact & ~0x007fffffU ) == 0 );
240
240
assert (nSize < 256 );
241
241
nCompact |= nSize << 24 ;
242
242
nCompact |= (fNegative && (nCompact & 0x007fffff ) ? 0x00800000 : 0 );
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ unsigned-integer-overflow:txmempool.cpp
62
62
unsigned-integer-overflow:util/strencodings.cpp
63
63
unsigned-integer-overflow:validation.cpp
64
64
implicit-integer-sign-change:addrman.h
65
- implicit-integer-sign-change:arith_uint256.cpp
66
65
implicit-integer-sign-change:bech32.cpp
67
66
implicit-integer-sign-change:common/bloom.cpp
68
67
implicit-integer-sign-change:chain.cpp
You can’t perform that action at this time.
0 commit comments