diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-01-28 12:31:41 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-01-31 09:27:12 +0100 |
commit | 1111d33532516c16fb2e22660ac2745ce56ad6cd (patch) | |
tree | c725c1b0b7ada20c0c791618e7a4befd969272a0 | |
parent | b25a752dfdbb12fd579e1dbef2bb95096867046b (diff) | |
download | bitcoin-1111d33532516c16fb2e22660ac2745ce56ad6cd.tar.xz |
refactor: Make MessageBoxFlags enum underlying type unsigned
-rw-r--r-- | src/node/ui_interface.h | 3 | ||||
-rw-r--r-- | test/sanitizer_suppressions/ubsan | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/node/ui_interface.h b/src/node/ui_interface.h index 5c7c3e7074..d02238b549 100644 --- a/src/node/ui_interface.h +++ b/src/node/ui_interface.h @@ -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), diff --git a/test/sanitizer_suppressions/ubsan b/test/sanitizer_suppressions/ubsan index bcfb188157..07a440a290 100644 --- a/test/sanitizer_suppressions/ubsan +++ b/test/sanitizer_suppressions/ubsan @@ -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 |