aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-07-03 13:17:37 +0200
committerGitHub <noreply@github.com>2023-07-03 13:17:37 +0200
commit5f442e1a4a831ed2eb70d5c2dd66c47b0b8aa7e1 (patch)
tree2c5ae2854f3688497b05f80bd0302feb9162a308 /src/nvim/ops.c
parentf771d6247147b393238fe57065a96fb5e9635358 (diff)
parentfcf3519c65a2d6736de437f686e788684a6c8564 (diff)
downloadrneovim-5f442e1a4a831ed2eb70d5c2dd66c47b0b8aa7e1.tar.gz
rneovim-5f442e1a4a831ed2eb70d5c2dd66c47b0b8aa7e1.tar.bz2
rneovim-5f442e1a4a831ed2eb70d5c2dd66c47b0b8aa7e1.zip
Merge pull request #23167 from dundargoc/refactor/long
refactor: remove long
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 4a6ed8c521..0aefd28fec 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -5763,7 +5763,7 @@ typedef struct {
int rv_mode; ///< 'v', 'V', or Ctrl-V
linenr_T rv_line_count; ///< number of lines
colnr_T rv_vcol; ///< number of cols or end column
- long rv_count; ///< count for Visual operator
+ int rv_count; ///< count for Visual operator
int rv_arg; ///< extra argument
} redo_VIsual_T;
@@ -6157,7 +6157,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
switch (oap->op_type) {
case OP_LSHIFT:
case OP_RSHIFT:
- op_shift(oap, true, oap->is_VIsual ? (int)cap->count1 : 1);
+ op_shift(oap, true, oap->is_VIsual ? cap->count1 : 1);
auto_format(false, true);
break;