1
0
forked from aniani/vim

patch 8.0.1003: 64 bit compiler warning

Problem:    64 bit compiler warning
Solution:   Add type cast. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2017-08-27 13:10:10 +02:00
parent 02e177d3e8
commit e85928a324
2 changed files with 3 additions and 1 deletions

View File

@@ -4890,7 +4890,7 @@ win32_escape_arg(char_u *arg)
int has_spaces = FALSE;
/* First count the number of extra bytes required. */
slen = STRLEN(arg);
slen = (int)STRLEN(arg);
dlen = slen;
for (s = arg; *s != NUL; MB_PTR_ADV(s))
{

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1003,
/**/
1002,
/**/