0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.580

Problem:    Warning on 64 bit MS-Windows.
Solution:   Add type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2012-06-29 17:52:02 +02:00
parent 2afa3238a1
commit 3cd3e7ab17
2 changed files with 3 additions and 1 deletions

View File

@@ -495,7 +495,7 @@ VimStrwidth(PyObject *self UNUSED, PyObject *args)
if (!PyArg_ParseTuple(args, "s", &expr))
return NULL;
return PyLong_FromLong(mb_string2cells((char_u *)expr, STRLEN(expr)));
return PyLong_FromLong(mb_string2cells((char_u *)expr, (int)STRLEN(expr)));
}
/*

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
580,
/**/
579,
/**/