aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2015-04-07 19:21:50 +0200
committerEliseo Martínez <eliseomarmol@gmail.com>2015-04-07 19:21:50 +0200
commit6881d9705b78fcd2b30a9352c20ed21907471f1a (patch)
tree7b267cd84e0c5c3356fb6117e0691359da54c3d2 /src/nvim/ops.c
parent5f3eeadd037e111e8ba5b04d39ff69806899ed6c (diff)
parent402c6fd939f088a623c5e2585b8826e7bf51dc53 (diff)
downloadrneovim-6881d9705b78fcd2b30a9352c20ed21907471f1a.tar.gz
rneovim-6881d9705b78fcd2b30a9352c20ed21907471f1a.tar.bz2
rneovim-6881d9705b78fcd2b30a9352c20ed21907471f1a.zip
Merge #2228: Enable -Wconversion. (2)
Reviewed-by: oni-link <knil.ino@gmail.com>
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 5921e27282..4c5a002f81 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -278,7 +278,7 @@ shift_line (
{
int count;
int i, j;
- int p_sw = (int)get_sw_value(curbuf);
+ int p_sw = get_sw_value(curbuf);
count = get_indent(); /* get current indent */
@@ -321,7 +321,7 @@ static void shift_block(oparg_T *oap, int amount)
int total;
char_u *newp, *oldp;
int oldcol = curwin->w_cursor.col;
- int p_sw = (int)get_sw_value(curbuf);
+ int p_sw = get_sw_value(curbuf);
int p_ts = (int)curbuf->b_p_ts;
struct block_def bd;
int incr;