diff options
Diffstat (limited to 'examples/grammar-parser.cpp')
-rw-r--r-- | examples/grammar-parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/grammar-parser.cpp b/examples/grammar-parser.cpp index 019d5e1..e76bd11 100644 --- a/examples/grammar-parser.cpp +++ b/examples/grammar-parser.cpp @@ -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) { |