commit c38f571d4b55f5733dfd9ccc284be1d78975e694
parent a89437219de2edaa98844d761d0f8910f192bc90
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sat, 7 Jan 2017 15:36:57 -0600
tweaks: line numbers are ssize_t, not int
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);