diff options
author | dundargoc <gocdundar@gmail.com> | 2023-04-17 22:18:58 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2023-07-03 12:49:09 +0200 |
commit | fcf3519c65a2d6736de437f686e788684a6c8564 (patch) | |
tree | 2c5ae2854f3688497b05f80bd0302feb9162a308 /src/nvim/normal.h | |
parent | f771d6247147b393238fe57065a96fb5e9635358 (diff) | |
download | rneovim-fcf3519c65a2d6736de437f686e788684a6c8564.tar.gz rneovim-fcf3519c65a2d6736de437f686e788684a6c8564.tar.bz2 rneovim-fcf3519c65a2d6736de437f686e788684a6c8564.zip |
refactor: remove long
long is 32-bits even on 64-bit windows which makes the type suboptimal
for a codebase meant to be cross-platform.
Diffstat (limited to 'src/nvim/normal.h')
-rw-r--r-- | src/nvim/normal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/normal.h b/src/nvim/normal.h index bed1a40b97..b9fdd21652 100644 --- a/src/nvim/normal.h +++ b/src/nvim/normal.h @@ -46,8 +46,8 @@ typedef struct oparg_S { bool is_VIsual; // operator on Visual area colnr_T start_vcol; // start col for block mode operator colnr_T end_vcol; // end col for block mode operator - long prev_opcount; // ca.opcount saved for K_EVENT - long prev_count0; // ca.count0 saved for K_EVENT + int prev_opcount; // ca.opcount saved for K_EVENT + int prev_count0; // ca.count0 saved for K_EVENT bool excl_tr_ws; // exclude trailing whitespace for yank of a // block } oparg_T; @@ -61,9 +61,9 @@ typedef struct cmdarg_S { int ncharC1; // first composing character (optional) int ncharC2; // second composing character (optional) int extra_char; // yet another character (optional) - long opcount; // count before an operator - long count0; // count before command, default 0 - long count1; // count before command, default 1 + int opcount; // count before an operator + int count0; // count before command, default 0 + int count1; // count before command, default 1 int arg; // extra argument from nv_cmds[] int retval; // return: CA_* values char *searchbuf; // return: pointer to search pattern or NULL |