diff --git a/src/V3Delayed.cpp b/src/V3Delayed.cpp index 71be19b3a..2e6cd67c2 100644 --- a/src/V3Delayed.cpp +++ b/src/V3Delayed.cpp @@ -188,7 +188,7 @@ class DelayedVisitor final : public VNVisitor { } // If both blocking/non-blocking, it's OK - if (firstRefp->user1() == nonBlocking) return; + if (firstRefp->user1() == static_cast(nonBlocking)) return; // Otherwise warn that both blocking and non-blocking assignments are used const AstNode* nonblockingp = nonBlocking ? nodep : firstRefp;