mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 02:38:15 +02:00
Fix MSVC C4805 == type mismatch warning
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user