Fix -Wconversion errors
This commit is contained in:
parent
243df2f77b
commit
b8ad3acb79
2 changed files with 7 additions and 3 deletions
|
|
@ -288,7 +288,7 @@ int main(int argc, char* argv[])
|
|||
logger.set_verbose(true);
|
||||
|
||||
auto file = parse_file(config, logger, options["file"].as<std::string>(),
|
||||
options.count("fatal_errors") == 1u);
|
||||
options.count("fatal_errors") == 1);
|
||||
if (!file)
|
||||
return 2;
|
||||
print_ast(std::cout, *file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue