mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.2319: compiler warning for int size
Problem: Compiler warning for int size. Solution: Add typecast. (Mike Williams)
This commit is contained in:
@@ -2884,7 +2884,7 @@ mouse_comp_pos(
|
|||||||
col += win->w_skipcol;
|
col += win->w_skipcol;
|
||||||
// limit to text length plus one
|
// limit to text length plus one
|
||||||
p = ml_get_buf(win->w_buffer, lnum, FALSE);
|
p = ml_get_buf(win->w_buffer, lnum, FALSE);
|
||||||
count = STRLEN(p);
|
count = (int)STRLEN(p);
|
||||||
if (col > count)
|
if (col > count)
|
||||||
col = count;
|
col = count;
|
||||||
}
|
}
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2319,
|
||||||
/**/
|
/**/
|
||||||
2318,
|
2318,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user