0
0
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:
Bram Moolenaar
2019-11-18 21:38:37 +01:00
parent 5f76334818
commit 07a63d8633
2 changed files with 3 additions and 1 deletions

View File

@@ -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;
} }

View File

@@ -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,
/**/ /**/