From 93904eb786834c9f3e025c07ccc4b35f2fd0c255 Mon Sep 17 00:00:00 2001 From: Ryszard Rozak Date: Tue, 10 Feb 2026 16:53:26 +0100 Subject: [PATCH] Fix type of i Signed-off-by: Ryszard Rozak --- src/V3Force.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }