diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-04-07 19:21:50 +0200 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-04-07 19:21:50 +0200 |
commit | 6881d9705b78fcd2b30a9352c20ed21907471f1a (patch) | |
tree | 7b267cd84e0c5c3356fb6117e0691359da54c3d2 /src/nvim/ops.c | |
parent | 5f3eeadd037e111e8ba5b04d39ff69806899ed6c (diff) | |
parent | 402c6fd939f088a623c5e2585b8826e7bf51dc53 (diff) | |
download | rneovim-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.c | 4 |
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; |