Fix MSVC C4805 == type mismatch warning
This commit is contained in:
parent
1dbf1be3e6
commit
5c2b9d55b2
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue