[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Thu, 9 Nov 2023 15:59:26 -0500 (EST) |
branch: master
commit 9d73160cf42b7691f8570d6626c8a9c2ae535f20
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Nov 9 21:43:45 2023 +0100
* tp/Texinfo/XS/convert/get_html_perl_info.c
(html_converter_initialize_sv): use enum as type.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/convert/get_html_perl_info.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 554957b7b5..0dde1d3cc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-09 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/get_html_perl_info.c
+ (html_converter_initialize_sv): use enum as type.
+
2023-11-09 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/convert/convert_html.c (add_element_target_to_list)
diff --git a/tp/Texinfo/XS/convert/get_html_perl_info.c
b/tp/Texinfo/XS/convert/get_html_perl_info.c
index 16cc4a3e23..f4cfb80453 100644
--- a/tp/Texinfo/XS/convert/get_html_perl_info.c
+++ b/tp/Texinfo/XS/convert/get_html_perl_info.c
@@ -359,7 +359,7 @@ html_converter_initialize_sv (SV *converter_sv,
if (sorted_special_unit_varieties_sv)
{
- int j;
+ enum special_unit_info_type j;
SV **special_unit_info_sv;
HV *special_unit_info_hv;
@@ -559,7 +559,7 @@ html_converter_initialize_sv (SV *converter_sv,
{
char *context_name;
I32 retlen;
- int k;
+ enum conversion_context k;
int context_idx = -1;
SV *format_spec_sv = hv_iternextsv (context_hv,
&context_name, &retlen);