Patch 8.0.0541
Problem:    Compiler warning on MS-Windows.
Solution:   Add a type cast. (Mike Williams)
Files:      src/edit.c


*** ../vim-8.0.0540/src/edit.c  2017-04-01 15:15:48.284089660 +0200
--- src/edit.c  2017-04-03 21:34:11.377676422 +0200
***************
*** 9032,9038 ****
                               (linenr_T)(curwin->w_cursor.lnum + 1)) == FAIL)
                return FALSE;
            --Insstart.lnum;
!           Insstart.col = STRLEN(ml_get(Insstart.lnum));
        }
        /*
         * In replace mode:
--- 9032,9038 ----
                               (linenr_T)(curwin->w_cursor.lnum + 1)) == FAIL)
                return FALSE;
            --Insstart.lnum;
!           Insstart.col = (colnr_T)STRLEN(ml_get(Insstart.lnum));
        }
        /*
         * In replace mode:
*** ../vim-8.0.0540/src/version.c       2017-04-02 18:19:48.376143576 +0200
--- src/version.c       2017-04-03 21:34:54.957404378 +0200
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     541,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
266. You hear most of your jokes via e-mail instead of in person.

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui