aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2022-02-11 16:43:35 +0100
committerGitHub <noreply@github.com>2022-02-11 16:43:35 +0100
commitfc7d78f0714f4314424e599e609a962b263e5b95 (patch)
treebef991d68a7607b7794fb82252dd8fa2ea162581 /frontends
parente0165188669fcef2c5784c9916683889a2164e5d (diff)
parent342927732e0503848d9197b65441869679bab050 (diff)
downloadyosys-fc7d78f0714f4314424e599e609a962b263e5b95.tar.gz
yosys-fc7d78f0714f4314424e599e609a962b263e5b95.tar.bz2
yosys-fc7d78f0714f4314424e599e609a962b263e5b95.zip
Merge pull request #3164 from zachjs/fix-ast-warn
fix dumpAst() compilation warning
Diffstat (limited to 'frontends')
-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, " ]");
}