aboutsummaryrefslogtreecommitdiff
path: root/teco.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-03 20:36:25 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-03 20:36:25 +0300
commit9c2afb86acd2e28bef1767b7333acfb9666ec86b (patch)
treecfdedb1bd7436675654fb8374bca4e22a5f38e1d /teco.h
parent9deaff57e11036f96b93e0ed79b39cac7fcffa04 (diff)
downloadvideoteco-fork-9c2afb86acd2e28bef1767b7333acfb9666ec86b.tar.gz
various data type improvements
* fixes at least <FS>, 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
Diffstat (limited to 'teco.h')
-rw-r--r--teco.h4
1 files changed, 2 insertions, 2 deletions
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);