aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-07-19 20:15:03 +0200
committerGitHub <noreply@github.com>2019-07-19 20:15:03 +0200
commitd5f7099be23e217a1fe1f5443257f1b5d1eacfea (patch)
tree3f6408beb26e7c34f95fa05c5d84b1ac7ad880c1 /src/nvim/ex_docmd.c
parent7e4fd045f943156882f5efa502998d2f670fe256 (diff)
parentaa28e070e9f953c26405d765addd9f780ede2c5a (diff)
downloadrneovim-d5f7099be23e217a1fe1f5443257f1b5d1eacfea.tar.gz
rneovim-d5f7099be23e217a1fe1f5443257f1b5d1eacfea.tar.bz2
rneovim-d5f7099be23e217a1fe1f5443257f1b5d1eacfea.zip
Merge pull request #10541 from bfredl/conversion_getln
refactor: enable -Wconversion for ex_getln.c and use int for Rows/Columns
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 59e6f227e4..7a06d19a19 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -6417,7 +6417,7 @@ static void ex_stop(exarg_T *eap)
apply_autocmds(EVENT_VIMSUSPEND, NULL, NULL, false, NULL);
// TODO(bfredl): the TUI should do this on suspend
- ui_cursor_goto((int)Rows - 1, 0);
+ ui_cursor_goto(Rows - 1, 0);
ui_call_grid_scroll(1, 0, Rows, 0, Columns, 1, 0);
ui_flush();
ui_call_suspend(); // call machine specific function