]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.580 v7.3.580
authorBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2012 15:52:02 +0000 (17:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2012 15:52:02 +0000 (17:52 +0200)
Problem:    Warning on 64 bit MS-Windows.
Solution:   Add type cast. (Mike Williams)

src/if_py_both.h
src/version.c

index 8229458d880c7d7abfb0ae4c91127eb86fe7b3bf..0912ee06df1f7d64c720680a8e25c09516420c09 100644 (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)));
 }
 
 /*
index 074ce3e53d60baf3cf1ae6eb0855a2497ae2bcdc..29943e36e413bacf087c1fedd83bde14815b3f4b 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    580,
 /**/
     579,
 /**/