diff --git a/src/V3Force.cpp b/src/V3Force.cpp index 01e3b2cc8..92126e494 100644 --- a/src/V3Force.cpp +++ b/src/V3Force.cpp @@ -102,7 +102,7 @@ public: AstVarRef* const enRefp = new AstVarRef{flp, m_enVscp, VAccess::WRITE}; AstNodeStmt* const enInitStmtsp = rdUpdateStmtsp->cloneTree(true); - for (int i = 0; i < assigns.size(); i++) { + for (size_t i = 0; i < assigns.size(); i++) { // Save copies, because clonep() works only after the last cloneTree assigns[i] = assigns[i]->clonep(); }