diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2022-02-11 16:43:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 16:43:35 +0100 |
commit | fc7d78f0714f4314424e599e609a962b263e5b95 (patch) | |
tree | bef991d68a7607b7794fb82252dd8fa2ea162581 /frontends/ast | |
parent | e0165188669fcef2c5784c9916683889a2164e5d (diff) | |
parent | 342927732e0503848d9197b65441869679bab050 (diff) | |
download | yosys-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/ast')
-rw-r--r-- | frontends/ast/ast.cc | 2 |
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, " ]"); } |