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:
@@ -2077,7 +2077,7 @@ do_join(
|
||||
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)
|
||||
{
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
881,
|
||||
/**/
|
||||
880,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user