Problem: Compiler warnings with 64 bit build.
Solution: Add type cast of change the type. (Mike Williams)
# if defined(FEAT_MBYTE) && !defined(FEAT_GUI_MSWIN)
if (enc_codepage >= 0 && (int)GetConsoleCP() != enc_codepage)
{
- int inlen = STRLEN(str);
+ int inlen = (int)STRLEN(str);
int outlen;
WCHAR *widestr = (WCHAR *)enc_to_utf16(str, &inlen);
if (*p == '`')
{
+ size_t len = STRLEN(p);
+
/* don't replace backslash in backtick quoted strings */
- int len = STRLEN(p);
if (len > 2 && *(p + len - 1) == '`')
return;
}
* main.c, so this part add str as literal. */
if (literal == FALSE)
{
- int len = STRLEN(str);
+ size_t len = STRLEN(str);
+
if (len > 2 && *str == '`' && *(str + len - 1) == '`')
literal = TRUE;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 888,
/**/
887,
/**/