* src/treesit.c (treesit_debug_print_parser_list): Fix format string.

This commit is contained in:
Andrea Corallo 2024-09-09 09:09:48 +02:00
parent bed38ded73
commit e0d3f74395

View file

@ -521,7 +521,7 @@ treesit_debug_print_parser_list (char *msg, Lisp_Object parser)
for (int idx = 0; idx < len; idx++) for (int idx = 0; idx < len; idx++)
{ {
TSRange range = ranges[idx]; TSRange range = ranges[idx];
printf (" [%d, %d)", range.start_byte, range.end_byte); printf (" [%"PRIu32", %"PRIu32")", range.start_byte, range.end_byte);
/* if (!parser->need_reparse) */ /* if (!parser->need_reparse) */
/* { */ /* { */