diff options
author | John Szakmeister <john@szakmeister.net> | 2015-03-13 07:09:08 -0400 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2015-03-13 07:09:08 -0400 |
commit | c015eabe13bd37fb7d129da20904dd172b0bd3a1 (patch) | |
tree | 1b4a910ce85a78a265d2b2c708e3d47b7da08826 /src/nvim/ops.c | |
parent | b5bb6269b0f27c5192eaed6a069ba564c278760a (diff) | |
parent | 9925b3a0477e5af348a8348544e69a65a9222c1b (diff) | |
download | rneovim-c015eabe13bd37fb7d129da20904dd172b0bd3a1.tar.gz rneovim-c015eabe13bd37fb7d129da20904dd172b0bd3a1.tar.bz2 rneovim-c015eabe13bd37fb7d129da20904dd172b0bd3a1.zip |
Merge pull request #2118 from rev112/fix_redundant_cast
Remove redundant casts
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 062fc1bbfa..7f2df8199c 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1494,7 +1494,7 @@ int op_delete(oparg_T *oap) if (oap->line_count > 1) { lnum = curwin->w_cursor.lnum; ++curwin->w_cursor.lnum; - del_lines((long)(oap->line_count - 1), TRUE); + del_lines(oap->line_count - 1, TRUE); curwin->w_cursor.lnum = lnum; } if (u_save_cursor() == FAIL) @@ -1607,7 +1607,7 @@ int op_delete(oparg_T *oap) curpos = curwin->w_cursor; /* remember curwin->w_cursor */ ++curwin->w_cursor.lnum; - del_lines((long)(oap->line_count - 2), FALSE); + del_lines(oap->line_count - 2, FALSE); if (delete_last_line) oap->end.lnum = curbuf->b_ml.ml_line_count; |