Patch 8.2.1694
Problem:    Compiler warning for loss if data.
Solution:   Add typecast.
Files:      src/ops.c


*** ../vim-8.2.1693/src/ops.c   2020-09-15 21:34:14.998383526 +0200
--- src/ops.c   2020-09-16 15:44:49.241373551 +0200
***************
*** 2840,2846 ****
            // Delete the one character before the insert.
            curwin->w_cursor = save_pos;
            (void)del_char(FALSE);
!           curwin->w_cursor.col = STRLEN(ml_get_curline()) - bytes_after;
            --todel;
        }
        while (todel-- > 0)
--- 2840,2847 ----
            // Delete the one character before the insert.
            curwin->w_cursor = save_pos;
            (void)del_char(FALSE);
!           curwin->w_cursor.col = (colnr_T)(STRLEN(ml_get_curline())
!                                                               - bytes_after);
            --todel;
        }
        while (todel-- > 0)
*** ../vim-8.2.1693/src/version.c       2020-09-16 15:43:18.521746573 +0200
--- src/version.c       2020-09-16 15:45:51.725116155 +0200
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     1694,
  /**/

-- 
The MS-Windows registry is no more hostile than any other bunch of state
information... that is held in a binary format... a format that nobody
understands... and is replicated and cached in a complex and largely
undocumented way... and contains large amounts of duplicate and obfuscated
information...  (Ben Peterson)

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202009161346.08GDkZXN2152660%40masaka.moolenaar.net.

Raspunde prin e-mail lui