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)
284284}
285285
286286/* * 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+ {
288289 bool lower = false , upper = false ;
289290 for (size_t i = 0 ; i < str.size (); ++i) {
290- unsigned char c = str[i];
291+ unsigned char c{( unsigned char )( str[i])} ;
291292 if (c >= ' a' && c <= ' z' ) {
292293 if (upper) {
293294 errors.push_back (i);
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ unsigned-integer-overflow:policy/fees.cpp
5353unsigned-integer-overflow:prevector.h
5454unsigned-integer-overflow:script/interpreter.cpp
5555unsigned-integer-overflow:txmempool.cpp
56- implicit-integer-sign-change:bech32.cpp
5756implicit-integer-sign-change:compat/stdin.cpp
5857implicit-integer-sign-change:compressor.h
5958implicit-integer-sign-change:crypto/
You can’t perform that action at this time.
0 commit comments