Skip to content

Commit

Permalink
Fix MSVC warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed May 26, 2024
1 parent 0e6a1a2 commit c662ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/ast/expressions/AssertionExpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ SequenceRepetition::SequenceRepetition(const SequenceRepetitionSyntax& syntax,

bitmask<NondegeneracyStatus> SequenceRepetition::checkNondegeneracy() const {
bitmask<NondegeneracyStatus> res;
if (range.min == 0) {
if (range.min == 0u) {
res = NondegeneracyStatus::AdmitsEmpty;
if (range.max == 0)
if (range.max == 0u)
res |= NondegeneracyStatus::AcceptsOnlyEmpty;
}
return res;
Expand Down

0 comments on commit c662ab4

Please sign in to comment.