aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast
diff options
context:
space:
mode:
authorZachary Snow <zach@zachjs.com>2022-01-18 00:17:08 -0700
committerZachary Snow <zach@zachjs.com>2022-01-18 00:17:08 -0700
commit342927732e0503848d9197b65441869679bab050 (patch)
tree47ea2f8625d30931405b978bec2e26648e723873 /frontends/ast
parent55924de7086b8a3894ed620f406ccd5b1e4a2087 (diff)
downloadyosys-342927732e0503848d9197b65441869679bab050.tar.gz
yosys-342927732e0503848d9197b65441869679bab050.tar.bz2
yosys-342927732e0503848d9197b65441869679bab050.zip
fix dumpAst() compilation warning
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/ast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc
index 7be8ab565..6097f02f5 100644
--- a/frontends/ast/ast.cc
+++ b/frontends/ast/ast.cc
@@ -344,7 +344,7 @@ void AstNode::dumpAst(FILE *f, std::string indent) const
}
if (!multirange_swapped.empty()) {
fprintf(f, " multirange_swapped=[");
- for (auto v : multirange_swapped)
+ for (bool v : multirange_swapped)
fprintf(f, " %d", v);
fprintf(f, " ]");
}