Skip to content
Permalink
Browse files

patch 8.0.1740: warning for signed-unsigned incompatibility

Problem:    Warning for signed-unsigned incompatibility.
Solution:   Change type from "char *" to "char_u *". (John Marriott)
  • Loading branch information
brammool committed Apr 20, 2018
1 parent 7dda86f commit 405dadb63ea2b7aa4c8c659807506a35a8a9504c
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/ex_cmds2.c
  2. +2 −0 src/version.c
@@ -2751,7 +2751,7 @@ ex_args(exarg_T *eap)
*/
if (ARGCOUNT > 0)
{
char **items = (char **)alloc(sizeof(char *) * ARGCOUNT);
char_u **items = (char_u **)alloc(sizeof(char_u *) * ARGCOUNT);

if (items != NULL)
{
@@ -2760,7 +2760,7 @@ ex_args(exarg_T *eap)
gotocmdline(TRUE);

for (i = 0; i < ARGCOUNT; ++i)
items[i] = (char *)alist_name(&ARGLIST[i]);
items[i] = alist_name(&ARGLIST[i]);
list_in_columns(items, ARGCOUNT, curwin->w_arg_idx);
vim_free(items);
}
@@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1740,
/**/
1739,
/**/

0 comments on commit 405dadb

Please sign in to comment.
You can’t perform that action at this time.