File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/sanitizer_suppressions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -284,10 +284,11 @@ inline unsigned char LowerCase(unsigned char c)
284
284
}
285
285
286
286
/* * Return indices of invalid characters in a Bech32 string. */
287
- bool CheckCharacters (const std::string& str, std::vector<int >& errors) {
287
+ bool CheckCharacters (const std::string& str, std::vector<int >& errors)
288
+ {
288
289
bool lower = false , upper = false ;
289
290
for (size_t i = 0 ; i < str.size (); ++i) {
290
- unsigned char c = str[i];
291
+ unsigned char c{( unsigned char )( str[i])} ;
291
292
if (c >= ' a' && c <= ' z' ) {
292
293
if (upper) {
293
294
errors.push_back (i);
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ unsigned-integer-overflow:policy/fees.cpp
53
53
unsigned-integer-overflow:prevector.h
54
54
unsigned-integer-overflow:script/interpreter.cpp
55
55
unsigned-integer-overflow:txmempool.cpp
56
- implicit-integer-sign-change:bech32.cpp
57
56
implicit-integer-sign-change:compat/stdin.cpp
58
57
implicit-integer-sign-change:compressor.h
59
58
implicit-integer-sign-change:crypto/
You can’t perform that action at this time.
0 commit comments