aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-13 04:33:30 -0400
committerGitHub <noreply@github.com>2016-06-13 04:33:30 -0400
commit28cc5a06462090a0411201b2c44140c37a433a0f (patch)
tree3d198c60f3f2021a5db89faa61c8ea7fa33e70f7 /src/nvim/edit.c
parent0ea01c15861eb6952b5db45f6a6b6ef507954e5b (diff)
parentc4da27095ccce52f9e2e7e0d80b5c1475c1fd66d (diff)
downloadrneovim-28cc5a06462090a0411201b2c44140c37a433a0f.tar.gz
rneovim-28cc5a06462090a0411201b2c44140c37a433a0f.tar.bz2
rneovim-28cc5a06462090a0411201b2c44140c37a433a0f.zip
Merge #3745 from cacplate/ops_Wconversion
Enable -Wconversion in ops.c
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 44aaedb9b4..03ef41f849 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -6952,8 +6952,8 @@ static void ins_reg(void)
AppendCharToRedobuff(literally);
AppendCharToRedobuff(regname);
- do_put(regname, NULL, BACKWARD, 1L,
- (literally == Ctrl_P ? PUT_FIXINDENT : 0) | PUT_CURSEND);
+ do_put(regname, NULL, BACKWARD, 1,
+ (literally == Ctrl_P ? PUT_FIXINDENT : 0) | PUT_CURSEND);
} else if (insert_reg(regname, literally) == FAIL) {
vim_beep(BO_REG);
need_redraw = true; // remove the '"'
@@ -7701,7 +7701,7 @@ static void ins_mouse(int c)
undisplay_dollar();
tpos = curwin->w_cursor;
- if (do_mouse(NULL, c, BACKWARD, 1L, 0)) {
+ if (do_mouse(NULL, c, BACKWARD, 1, 0)) {
win_T *new_curwin = curwin;
if (curwin != old_curwin && win_valid(old_curwin)) {