Problem: Windows compiler warns for using size_t.
Solution: Change to int. (Mike Williams)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 252,
/**/
251,
/**/
char_u *end;
char_u *pat;
char_u *tofree = NULL;
- size_t len;
+ int len;
// Push v:exception, push {expr} and MATCH
generate_instr_type(cctx, ISN_PUSHEXC, &t_string);
return FAIL;
}
if (tofree == NULL)
- len = end - (p + 1);
+ len = (int)(end - (p + 1));
else
- len = end - (tofree + 1);
+ len = (int)(end - (tofree + 1));
pat = vim_strnsave(p + 1, len);
vim_free(tofree);
p += len + 2;