texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * info/window.c (window_log_to_phys_line): use co


From: Patrice Dumas
Subject: branch master updated: * info/window.c (window_log_to_phys_line): use consistent type.
Date: Wed, 09 Oct 2024 15:12:43 -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 58a48e1f19 * info/window.c (window_log_to_phys_line): use consistent 
type.
58a48e1f19 is described below

commit 58a48e1f1989bf107b92df043cfcfebee3cad355
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Oct 9 21:12:33 2024 +0200

    * info/window.c (window_log_to_phys_line): use consistent type.
---
 ChangeLog     | 4 ++++
 info/window.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0438eb06a2..aeb82b93c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-10-09  Patrice Dumas  <pertusus@free.fr>
+
+       * info/window.c (window_log_to_phys_line): use consistent type.
+
 2024-10-09  Patrice Dumas  <pertusus@free.fr>
 
        * info/session.c (info_menu_or_ref_item): use long consistently with
diff --git a/info/window.c b/info/window.c
index 6bbee18434..24b029cefc 100644
--- a/info/window.c
+++ b/info/window.c
@@ -707,7 +707,7 @@ window_unmark_chain (WINDOW *chain, int flag)
 long
 window_log_to_phys_line (WINDOW *window, long ln)
 {
-  size_t i;
+  long i;
   
   if (ln > window->line_count)
     return 0;



reply via email to

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