Fix MSVC C4805 == type mismatch warning

This commit is contained in:
Wilson Snyder
2024-06-07 22:14:32 -04:00
parent 1dbf1be3e6
commit 5c2b9d55b2
+1 -1
View File
@@ -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<int>(nonBlocking)) return;
// Otherwise warn that both blocking and non-blocking assignments are used
const AstNode* nonblockingp = nonBlocking ? nodep : firstRefp;