1
0
forked from aniani/vim

patch 8.2.0881: compiler warning for argument type

Problem:    Compiler warning for argument type.
Solution:   Add type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2020-06-01 19:14:12 +02:00
parent 109aece79d
commit d6a77f95ee
2 changed files with 3 additions and 1 deletions

View File

@@ -2077,7 +2077,7 @@ do_join(
currsize = (int)STRLEN(curr); currsize = (int)STRLEN(curr);
} }
ml_replace_len(curwin->w_cursor.lnum, newp, newp_len, TRUE, FALSE); ml_replace_len(curwin->w_cursor.lnum, newp, (colnr_T)newp_len, TRUE, FALSE);
if (setmark && !cmdmod.lockmarks) if (setmark && !cmdmod.lockmarks)
{ {

View File

@@ -746,6 +746,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 */
/**/
881,
/**/ /**/
880, 880,
/**/ /**/