]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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)
committerEshel Yaron <me@eshelyaron.com>
Sat, 14 Sep 2024 20:16:34 +0000 (22:16 +0200)
(cherry picked from commit e0d3f7439573f2c5bde95dbb9005a4efc954aa0b)

src/treesit.c

index 992ff23f518357d65faf7cef44f33c31fbf157b5..02d993c62d964c9940a41030754ed1f3d81583ca 100644 (file)
@@ -525,7 +525,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) */
              /*        { */