Patch 8.0.1740
Problem:    Warning for signed-unsigned incompatibility.
Solution:   Change type from "char *" to "char_u *". (John Marriott)
Files:      src/ex_cmds2.c


*** ../vim-8.0.1739/src/ex_cmds2.c      2018-04-20 21:58:16.446318499 +0200
--- src/ex_cmds2.c      2018-04-20 22:46:20.398322405 +0200
***************
*** 2751,2757 ****
         */
        if (ARGCOUNT > 0)
        {
!           char **items = (char **)alloc(sizeof(char *) * ARGCOUNT);
  
            if (items != NULL)
            {
--- 2751,2757 ----
         */
        if (ARGCOUNT > 0)
        {
!           char_u **items = (char_u **)alloc(sizeof(char_u *) * ARGCOUNT);
  
            if (items != NULL)
            {
***************
*** 2760,2766 ****
                gotocmdline(TRUE);
  
                for (i = 0; i < ARGCOUNT; ++i)
!                   items[i] = (char *)alist_name(&ARGLIST[i]);
                list_in_columns(items, ARGCOUNT, curwin->w_arg_idx);
                vim_free(items);
            }
--- 2760,2766 ----
                gotocmdline(TRUE);
  
                for (i = 0; i < ARGCOUNT; ++i)
!                   items[i] = alist_name(&ARGLIST[i]);
                list_in_columns(items, ARGCOUNT, curwin->w_arg_idx);
                vim_free(items);
            }
*** ../vim-8.0.1739/src/version.c       2018-04-20 22:29:06.148195078 +0200
--- src/version.c       2018-04-20 22:47:38.333851992 +0200
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     1740,
  /**/

-- 
"The amigos also appear to be guilty of not citing the work of others who had
gone before them.  Even worse, they have a chapter about modeling time and
space without making a single reference to Star Trek!"
                        (Scott Ambler, reviewing the UML User Guide)

 /// 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