fix dumpAst() compilation warning

This commit is contained in:
Zachary Snow 2022-01-18 00:17:08 -07:00
parent 55924de708
commit 342927732e
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ void AstNode::dumpAst(FILE *f, std::string indent) const
} }
if (!multirange_swapped.empty()) { if (!multirange_swapped.empty()) {
fprintf(f, " multirange_swapped=["); fprintf(f, " multirange_swapped=[");
for (auto v : multirange_swapped) for (bool v : multirange_swapped)
fprintf(f, " %d", v); fprintf(f, " %d", v);
fprintf(f, " ]"); fprintf(f, " ]");
} }