* src/treesit.c (treesit_debug_print_parser_list): Fix format string.
authorAndrea Corallo <acorallo@gnu.org>
Mon, 9 Sep 2024 07:09:48 +0000 (09:09 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Mon, 9 Sep 2024 07:09:48 +0000 (09:09 +0200)
src/treesit.c

index d1c50771e2300f7ec8ce0968abe46793d6c3895c..548dfeb8c6e28b61c82247ba4a22120c106ace44 100644 (file)
@@ -521,7 +521,7 @@ treesit_debug_print_parser_list (char *msg, Lisp_Object parser)
          for (int idx = 0; idx < len; 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) */
              /*        { */