texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/XS/convert/html_prepare_converter.c


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/convert/html_prepare_converter.c (check_targets_order): use the PRIuPTR macro from inttypes.h for uintptr_t type printf format.
Date: Fri, 15 Nov 2024 15:26:20 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 56a575f5fa * tp/Texinfo/XS/convert/html_prepare_converter.c 
(check_targets_order): use the PRIuPTR macro from inttypes.h for uintptr_t type 
printf format.
56a575f5fa is described below

commit 56a575f5fa5ba1bea5a4c061757739320fa4a819
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Nov 15 21:26:14 2024 +0100

    * tp/Texinfo/XS/convert/html_prepare_converter.c
    (check_targets_order): use the PRIuPTR macro from inttypes.h
    for uintptr_t type printf format.
---
 ChangeLog                                      | 6 ++++++
 tp/Texinfo/XS/convert/html_prepare_converter.c | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d385e26e1e..46417c45dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-11-15  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/html_prepare_converter.c
+       (check_targets_order): use the PRIuPTR macro from inttypes.h
+       for uintptr_t type printf format.
+
 2024-11-15  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/Makefile.am (StructuringTransfoXS_la_CPPFLAGS)
diff --git a/tp/Texinfo/XS/convert/html_prepare_converter.c 
b/tp/Texinfo/XS/convert/html_prepare_converter.c
index b0b65b9496..1815cf0074 100644
--- a/tp/Texinfo/XS/convert/html_prepare_converter.c
+++ b/tp/Texinfo/XS/convert/html_prepare_converter.c
@@ -20,6 +20,7 @@
 #include <stddef.h>
 #include <string.h>
 #include <errno.h>
+#include <inttypes.h>
 /* for euidaccess.  Not portable, use gnulib */
 #include <unistd.h>
 
@@ -4447,7 +4448,7 @@ check_targets_order (enum command_id cmd, 
HTML_TARGET_LIST *element_targets)
       if (compare_element_target (&element_targets->list[i-1],
                                   &element_targets->list[i]) > 0)
         {
-          fprintf (stderr, "no %s %zu %ld %p %s %zu %ld %p %s\n",
+          fprintf (stderr, "no %s %zu %"PRIuPTR" %p %s %zu %"PRIuPTR" %p %s\n",
            builtin_command_name (cmd), i-1,
            (uintptr_t)element_targets->list[i-1].element,
            element_targets->list[i-1].element, 
element_targets->list[i-1].target,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]