Skip to content

Commit 8c7ee92

Browse files
author
Your Name
committed
Make left operand unsigned
1 parent 5d3e4d1 commit 8c7ee92

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/analyzer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ struct Analyzer {
153153
struct Assume {
154154
enum Flags : std::uint8_t {
155155
None = 0,
156-
Quiet = (1 << 0),
157-
Absolute = (1 << 1),
158-
ContainerEmpty = (1 << 2),
156+
Quiet = (1u << 0),
157+
Absolute = (1u << 1),
158+
ContainerEmpty = (1u << 2),
159159
// The branch this condition guards is not traversed yet (a separate path walks it), so
160160
// the assume must not record the program state at the branch boundaries - they would be
161161
// premature. When unset, the branch has been traversed and control is leaving it.
162-
Pending = (1 << 3),
162+
Pending = (1u << 3),
163163
};
164164
};
165165

0 commit comments

Comments
 (0)