From 9c2afb86acd2e28bef1767b7333acfb9666ec86b Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 3 May 2025 20:36:25 +0300 Subject: various data type improvements * fixes at least , which has been broken since b5325e00c402ec18034da4b4a4aaaefa87bb1fef. * but probably many other commands as well in the DOS version when working with "very large" documents * now compiles cleanly with -Wsign-compare --- teco.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'teco.h') diff --git a/teco.h b/teco.h index 1a2bdc1..4959ab7 100644 --- a/teco.h +++ b/teco.h @@ -648,8 +648,8 @@ void screen_free_format_lines(struct format_line *sbp); int buff_delete_char(struct buff_header *hbp,unsigned long position); int compile_search_string(struct search_buff *search_tbl); int cmd_forward_search(unsigned long pos1,unsigned long pos2,struct search_buff *search_tbl); -int cmd_reverse_search(int pos1,int pos2,struct search_buff *search_tbl); -int buff_cached_contents(struct buff_header *,unsigned long,struct position_cache *); +int cmd_reverse_search(unsigned long pos1,unsigned long pos2,struct search_buff *search_tbl); +int buff_cached_contents(struct buff_header *,long,struct position_cache *); int buff_contents(struct buff_header *hbp,long position); void pause_while_in_input_wait(void); void restore_tty(void); -- cgit v1.2.3