From 5c2b9d55b26fdb8e00ff89dc70e8ad161844233b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 7 Jun 2024 22:14:32 -0400 Subject: [PATCH] Fix MSVC C4805 == type mismatch warning --- src/V3Delayed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;