patch 9.1.0632: MS-Windows: Compiler Warnings
Problem: MS-Windows: Compiler Warnings
Solution: Fix the warnings (Ken Takata)
* Unused variable.
* Conversion from size_t to int.
closes: #15369
Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/insexpand.c b/src/insexpand.c
index 2a5f8e8..00a7b75 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -3544,7 +3544,7 @@
int i;
int score;
char_u *leader = ins_compl_leader();
- int leader_len = STRLEN(leader);
+ size_t leader_len = STRLEN(leader);
int in_fuzzy = ((get_cot_flags() & COT_FUZZY) != 0 && leader_len > 0);
char_u **sorted_matches;
int *fuzzy_indices_data;