aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r--src/nvim/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
index c5b3bbcb01..a0adf482e4 100644
--- a/src/nvim/terminal.c
+++ b/src/nvim/terminal.c
@@ -1511,7 +1511,7 @@ static void adjust_scrollback(Terminal *term, buf_T *buf)
term->sb_current--;
xfree(term->sb_buffer[term->sb_current]);
}
- deleted_lines(1, (long)diff);
+ deleted_lines(1, (linenr_T)diff);
}
// Resize the scrollback storage.