Merge pull request #3164 from zachjs/fix-ast-warn

fix dumpAst() compilation warning
This commit is contained in:
Miodrag Milanović 2022-02-11 16:43:35 +01:00 committed by GitHub
commit fc7d78f071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()) {
fprintf(f, " multirange_swapped=[");
for (auto v : multirange_swapped)
for (bool v : multirange_swapped)
fprintf(f, " %d", v);
fprintf(f, " ]");
}