From c38f571d4b55f5733dfd9ccc284be1d78975e694 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey <pooka109@gmail.com> Date: Sat, 7 Jan 2017 15:36:57 -0600 Subject: [PATCH] tweaks: line numbers are ssize_t, not int --- src/cut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cut.c b/src/cut.c index 7ac222a9..f5eb321c 100644 --- a/src/cut.c +++ b/src/cut.c @@ -260,7 +260,7 @@ void do_cut_till_eof(void) /* Copy text from the cutbuffer into the current filestruct. */ void do_uncut_text(void) { - int was_lineno = openfile->current->lineno; + ssize_t was_lineno = openfile->current->lineno; assert(openfile->current != NULL && openfile->current->data != NULL); -- GitLab