Patch 8.2.3132
Problem:    Compiler warns for size_t to colnr_T conversion. (Randall W.
            Morris)
Solution:   Add a type cast.
Files:      src/drawscreen.c


*** ../vim-8.2.3131/src/drawscreen.c    2021-07-05 22:02:53.772180695 +0200
--- src/drawscreen.c    2021-07-09 15:52:48.876958887 +0200
***************
*** 2036,2042 ****
                        {
                            colnr_T t;
  
!                           pos.col = STRLEN(ml_get_buf(wp->w_buffer,
                                                             pos.lnum, FALSE));
                            getvvcol(wp, &pos, NULL, NULL, &t);
                            if (toc < t)
--- 2036,2042 ----
                        {
                            colnr_T t;
  
!                           pos.col = (int)STRLEN(ml_get_buf(wp->w_buffer,
                                                             pos.lnum, FALSE));
                            getvvcol(wp, &pos, NULL, NULL, &t);
                            if (toc < t)
*** ../vim-8.2.3131/src/version.c       2021-07-08 22:20:47.371314825 +0200
--- src/version.c       2021-07-09 15:53:43.332877431 +0200
***************
*** 757,758 ****
--- 757,760 ----
  {   /* Add new patch number below this line */
+ /**/
+     3132,
  /**/

-- 
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
                                               -- Dave Parnas

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/202107091355.169Dt9Vg306299%40masaka.moolenaar.net.

Raspunde prin e-mail lui