Skip to content

Commit 4013e44

Browse files
author
MarcoFalke
committed
Merge #21082: refactor: Treat ArgsManager::Flags as uint32_t explicitly
faf3b4b refactor: Treat ArgsManager::Flags as uint32_t explicitly (MarcoFalke) Pull request description: The underlying type might be implementation defined, which is probably why the sanitizer kills the fuzz tests. Fix that by pinning the underlying type. This refactor does not change behaviour and only affects the sanitizer in tests. ACKs for top commit: practicalswift: cr ACK faf3b4b Tree-SHA512: d446824836e1037b4200ba3630c8628090678cfad45559866275d8e06349f7c8cdb7e816619f5afb35f9f65299cc00e046d2f81b73cd8eb843e2e15676b647d5
2 parents ea5a50f + faf3b4b commit 4013e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/system.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ struct SectionInfo
166166
class ArgsManager
167167
{
168168
public:
169-
enum Flags {
169+
enum Flags : uint32_t {
170170
// Boolean options can accept negation syntax -noOPTION or -noOPTION=1
171171
ALLOW_BOOL = 0x01,
172172
ALLOW_INT = 0x02,

0 commit comments

Comments
 (0)