Skip to content

Commit

Permalink
Fix windows debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Churkin committed Jun 11, 2024
1 parent 61c2b8f commit d955064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/ast/ClockResolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ bool ClockingEvent::operator==(const ClockingEvent& ce) const {
return false;

// Check simple single clocked clocking events
if (unsigned long sz = events.size(); sz != ce.events.size())
if (size_t sz = events.size(); sz != ce.events.size())
return false;
else if (sz == 1)
return events[0] == ce.events[0];
Expand Down Expand Up @@ -268,7 +268,7 @@ void SequenceVisitor::handle(const SequenceConcatExpr& conExp) {
if ((elemSeq->checkNondegeneracy() | prevStatus).has(NondegeneracyStatus::AdmitsEmpty))
compilation.getRoot().addDiag(diag::MultiClkConcatAdmitsEmpty, sourceRange);

if (elem.delay.max > 1)
if (elem.delay.max > 1U)
compilation.getRoot().addDiag(diag::SingleClockDelaySeqExpected, sourceRange)
<< elem.delay.max.value_or(UINT32_MAX);
}
Expand Down

0 comments on commit d955064

Please sign in to comment.