mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.2.383
Problem: Vim doesn't build cleanly with MSVC 2010. Solution: Change a few types. (George Reilly)
This commit is contained in:
@@ -2080,7 +2080,7 @@ WindowSetattr(PyObject *self, char *name, PyObject *val)
|
||||
return -1;
|
||||
|
||||
/* When column is out of range silently correct it. */
|
||||
len = STRLEN(ml_get_buf(this->win->w_buffer, lnum, FALSE));
|
||||
len = (long)STRLEN(ml_get_buf(this->win->w_buffer, lnum, FALSE));
|
||||
if (col > len)
|
||||
col = len;
|
||||
|
||||
|
Reference in New Issue
Block a user