# HG changeset patch # User Bram Moolenaar # Date 1340985122 -7200 # Node ID f02b6ad168ae82ead0286b64627762ab2343ee96 # Parent fd50c6c9526566cb7b59fa29e23d963783db34c3 updated for version 7.3.580 Problem: Warning on 64 bit MS-Windows. Solution: Add type cast. (Mike Williams) diff --git a/src/if_py_both.h b/src/if_py_both.h --- 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))); } /* diff --git a/src/version.c b/src/version.c --- 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,