To: vim_dev@googlegroups.com Subject: Patch 8.2.0881 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///