Permalink
Browse files

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)
  • Loading branch information...
brammool committed Jan 2, 2018
1 parent de04654 commit 200ea8ffaa90e1ccc156b24ee097be87acdd5214
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/ex_getln.c
  2. +2 −0 src/version.c
View
@@ -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] == '\\'
View
@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1428,
/**/
1427,
/**/

0 comments on commit 200ea8f

Please sign in to comment.