mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
Merge bitcoin/bitcoin#24191: refactor: Make MessageBoxFlags enum underlying type unsigned
1111d33532
refactor: Make MessageBoxFlags enum underlying type unsigned (MarcoFalke) Pull request description: All values in the enum are unsigned. Also, flags shouldn't be treated as signed types. So clarify the underlying type and remove a sanitizer suppression. ACKs for top commit: hebasto: ACK1111d33532
, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: 48b16c4a0ace1a1e4d351d6eadadbb1bc42aef7fd82e24e3ea50c62f2c04a552ed21027158d09aa97e630c8c7d732cb150c38065333d7c2accbae46593b7ed9f
This commit is contained in:
commit
0ff1391328
2 changed files with 1 additions and 3 deletions
|
@ -25,8 +25,7 @@ class CClientUIInterface
|
|||
{
|
||||
public:
|
||||
/** Flags for CClientUIInterface::ThreadSafeMessageBox */
|
||||
enum MessageBoxFlags
|
||||
{
|
||||
enum MessageBoxFlags : uint32_t {
|
||||
ICON_INFORMATION = 0,
|
||||
ICON_WARNING = (1U << 0),
|
||||
ICON_ERROR = (1U << 1),
|
||||
|
|
|
@ -66,7 +66,6 @@ implicit-integer-sign-change:compat/stdin.cpp
|
|||
implicit-integer-sign-change:compressor.h
|
||||
implicit-integer-sign-change:crypto/
|
||||
implicit-integer-sign-change:key.cpp
|
||||
implicit-integer-sign-change:noui.cpp
|
||||
implicit-integer-sign-change:policy/fees.cpp
|
||||
implicit-integer-sign-change:prevector.h
|
||||
implicit-integer-sign-change:script/bitcoinconsensus.cpp
|
||||
|
|
Loading…
Reference in a new issue