commit | 200ea8ffaa90e1ccc156b24ee097be87acdd5214 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 02 15:37:46 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 02 15:37:46 2018 +0100 |
tree | fe8c62c71e8096ec1df6355d1ec99e8001a1736c | |
parent | de04654ddc865af94ef04b1738b335a924be7923 [diff] [blame] |
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)
diff --git a/src/ex_getln.c b/src/ex_getln.c index 2a2b08b..421c6b7 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c
@@ -180,7 +180,7 @@ 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] == '\\'