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_converter_finish.c (


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/convert/html_converter_finish.c (html_free_converter): use a size_t index for self->pending_closes.list.
Date: Sat, 05 Oct 2024 08:57:16 -0400

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 c5d56fd3ca * tp/Texinfo/XS/convert/html_converter_finish.c 
(html_free_converter): use a size_t index for self->pending_closes.list.
c5d56fd3ca is described below

commit c5d56fd3ca3e0d5aeabd223ec1ba742dc43c0a36
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 5 14:57:20 2024 +0200

    * tp/Texinfo/XS/convert/html_converter_finish.c (html_free_converter):
    use a size_t index for self->pending_closes.list.
---
 ChangeLog                                     | 5 +++++
 tp/Texinfo/XS/convert/html_converter_finish.c | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6829fad4f7..18104d9b8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-05  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/html_converter_finish.c (html_free_converter):
+       use a size_t index for self->pending_closes.list.
+
 2024-10-05  Patrice Dumas  <pertusus@free.fr>
 
        Update tp/maintain/lib/README
diff --git a/tp/Texinfo/XS/convert/html_converter_finish.c 
b/tp/Texinfo/XS/convert/html_converter_finish.c
index e859665d4d..9ecbf80e63 100644
--- a/tp/Texinfo/XS/convert/html_converter_finish.c
+++ b/tp/Texinfo/XS/convert/html_converter_finish.c
@@ -611,9 +611,9 @@ html_free_converter (CONVERTER *self)
   free (style_formatted_cmd.list);
  */
 
-  for (i = 0; i < self->pending_closes.number; i++)
+  for (j = 0; j < self->pending_closes.number; j++)
     {
-      STRING_STACK *file_pending_closes = &self->pending_closes.list[i];
+      STRING_STACK *file_pending_closes = &self->pending_closes.list[j];
       free (file_pending_closes->stack);
     }
   free (self->pending_closes.list);



reply via email to

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