changeset 3640:f02b6ad168ae v7.3.580

updated for version 7.3.580 Problem: Warning on 64 bit MS-Windows. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Fri, 29 Jun 2012 17:52:02 +0200
parents fd50c6c95265
children d7693979376b
files src/if_py_both.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -495,7 +495,7 @@ VimStrwidth(PyObject *self UNUSED, PyObj
     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)));
 }
 
 /*
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    580,
+/**/
     579,
 /**/
     578,