diff options
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index 7066be8f38..19a4a21737 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -1226,7 +1226,7 @@ ins_compl_build_pum(void) int cur = -1; int lead_len = 0; int max_fuzzy_score = 0; - int cur_cot_flags = get_cot_flags(); + unsigned int cur_cot_flags = get_cot_flags(); int compl_no_select = (cur_cot_flags & COT_NOSELECT) != 0; int compl_fuzzy_match = (cur_cot_flags & COT_FUZZY) != 0; @@ -2925,7 +2925,7 @@ set_completion(colnr_T startcol, list_T *list) int save_w_wrow = curwin->w_wrow; int save_w_leftcol = curwin->w_leftcol; int flags = CP_ORIGINAL_TEXT; - int cur_cot_flags = get_cot_flags(); + unsigned int cur_cot_flags = get_cot_flags(); int compl_longest = (cur_cot_flags & COT_LONGEST) != 0; int compl_no_insert = (cur_cot_flags & COT_NOINSERT) != 0; int compl_no_select = (cur_cot_flags & COT_NOSELECT) != 0; @@ -4126,7 +4126,7 @@ find_next_completion_match( { int found_end = FALSE; compl_T *found_compl = NULL; - int cur_cot_flags = get_cot_flags(); + unsigned int cur_cot_flags = get_cot_flags(); int compl_no_select = (cur_cot_flags & COT_NOSELECT) != 0; int compl_fuzzy_match = (cur_cot_flags & COT_FUZZY) != 0; @@ -4246,7 +4246,7 @@ ins_compl_next( int advance; int started = compl_started; buf_T *orig_curbuf = curbuf; - int cur_cot_flags = get_cot_flags(); + unsigned int cur_cot_flags = get_cot_flags(); int compl_no_insert = (cur_cot_flags & COT_NOINSERT) != 0; int compl_fuzzy_match = (cur_cot_flags & COT_FUZZY) != 0; |