diff options
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index f77822cec6..6bb980d501 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -104,7 +104,7 @@ typedef struct { typedef struct command_line_state { VimState state; int firstc; - long count; + int count; int indent; int c; int gotesc; // true when <ESC> just typed @@ -372,7 +372,7 @@ theend: } // May do 'incsearch' highlighting if desired. -static void may_do_incsearch_highlighting(int firstc, long count, incsearch_state_T *s) +static void may_do_incsearch_highlighting(int firstc, int count, incsearch_state_T *s) { pos_T end_pos; proftime_T tm; @@ -640,7 +640,7 @@ static void init_ccline(int firstc, int indent) /// @param count only used for incremental search /// @param indent indent for inside conditionals /// @param clear_ccline clear ccline first -static uint8_t *command_line_enter(int firstc, long count, int indent, bool clear_ccline) +static uint8_t *command_line_enter(int firstc, int count, int indent, bool clear_ccline) { // can be invoked recursively, identify each level static int cmdline_level = 0; @@ -1344,7 +1344,7 @@ static int command_line_execute(VimState *state, int key) // May adjust 'incsearch' highlighting for typing CTRL-G and CTRL-T, go to next // or previous match. // Returns FAIL when calling command_line_not_changed. -static int may_do_command_line_next_incsearch(int firstc, long count, incsearch_state_T *s, +static int may_do_command_line_next_incsearch(int firstc, int count, incsearch_state_T *s, bool next_match) FUNC_ATTR_NONNULL_ALL { @@ -2619,7 +2619,7 @@ static void abandon_cmdline(void) /// /// @param count only used for incremental search /// @param indent indent for inside conditionals -char *getcmdline(int firstc, long count, int indent, bool do_concat FUNC_ATTR_UNUSED) +char *getcmdline(int firstc, int count, int indent, bool do_concat FUNC_ATTR_UNUSED) { return (char *)command_line_enter(firstc, count, indent, true); } |