forked from aniani/vim
patch 8.0.1428: compiler warning on 64 bit MS-Windows system
Problem: Compiler warning on 64 bit MS-Windows system. Solution: Change type from "int" to "size_t". (Mike Williams)
This commit is contained in:
parent
de04654ddc
commit
200ea8ffaa
@ -180,7 +180,7 @@ abandon_cmdline(void)
|
||||
static int
|
||||
empty_pattern(char_u *p)
|
||||
{
|
||||
int n = STRLEN(p);
|
||||
size_t n = STRLEN(p);
|
||||
|
||||
/* remove trailing \v and the like */
|
||||
while (n >= 2 && p[n - 2] == '\\'
|
||||
|
@ -771,6 +771,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1428,
|
||||
/**/
|
||||
1427,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user