mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -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)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user