From: Zachary Snow Date: Tue, 18 Jan 2022 07:17:08 +0000 (-0700) Subject: fix dumpAst() compilation warning X-Git-Tag: yosys-0.15~28^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=342927732e0503848d9197b65441869679bab050;p=yosys.git fix dumpAst() compilation warning --- 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, " ]"); }