Patch 8.2.0881

8 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 1, 2020, 1:15:09 PM6/1/20
to vim...@googlegroups.com

Patch 8.2.0881
Problem: Compiler warning for argument type.
Solution: Add type cast. (Mike Williams)
Files: src/ops.c


*** ../vim-8.2.0880/src/ops.c 2020-05-31 15:08:55.118721233 +0200
--- src/ops.c 2020-06-01 19:13:15.342861510 +0200
***************
*** 2077,2083 ****
currsize = (int)STRLEN(curr);
}

! ml_replace_len(curwin->w_cursor.lnum, newp, newp_len, TRUE, FALSE);

if (setmark && !cmdmod.lockmarks)
{
--- 2077,2083 ----
currsize = (int)STRLEN(curr);
}

! ml_replace_len(curwin->w_cursor.lnum, newp, (colnr_T)newp_len, TRUE, FALSE);

if (setmark && !cmdmod.lockmarks)
{
*** ../vim-8.2.0880/src/version.c 2020-06-01 19:08:51.180259267 +0200
--- src/version.c 2020-06-01 19:13:53.022609480 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 881,
/**/

--
hundred-and-one symptoms of being an internet addict:
246. You use up your free 1 Gbyte in two days.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages