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:
@@ -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))
|
||||
{
|
||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1003,
|
||||
/**/
|
||||
1002,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user