Skip to content

Commit

Permalink
patch 8.0.1428: compiler warning on 64 bit MS-Windows system
Browse files Browse the repository at this point in the history
Problem:    Compiler warning on 64 bit MS-Windows system.
Solution:   Change type from "int" to "size_t". (Mike Williams)
  • Loading branch information
brammool committed Jan 2, 2018
1 parent de04654 commit 200ea8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ex_getln.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] == '\\'
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1428,
/**/
1427,
/**/
Expand Down

0 comments on commit 200ea8f

Please sign in to comment.