Fix type of i

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2026-02-10 16:53:26 +01:00
parent 4232553f06
commit 93904eb786
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}