build : fix several cast and printf warnings (#2499)
This commit is contained in:
parent
8183159cf3
commit
ff966e7ca6
4 changed files with 7 additions and 7 deletions
|
@ -405,7 +405,7 @@ namespace grammar_parser {
|
|||
for (size_t i = 0, end = state.rules.size(); i < end; i++) {
|
||||
// fprintf(file, "%zu: ", i);
|
||||
// print_rule_binary(file, state.rules[i]);
|
||||
print_rule(file, i, state.rules[i], symbol_id_names);
|
||||
print_rule(file, uint32_t(i), state.rules[i], symbol_id_names);
|
||||
// fprintf(file, "\n");
|
||||
}
|
||||
} catch (const std::exception & err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue