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>
#else
static PyObject *py_load_module;
#endif
+#if PY_VERSION_HEX < 0x30c00a7
static PyObject *py_find_module;
+#endif
static PyObject *VimError;
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;
{
found_new_match = TRUE;
*pos = current_pos;
- *len = STRLEN(*ptr);
+ *len = (int)STRLEN(*ptr);
break;
}
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 632,
/**/
631,
/**/