diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-24 19:04:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-24 19:04:29 +0200 |
commit | 71de720c2c117137185a6fc233b35aab37f0d4bc (patch) | |
tree | 3bcdf7afa66ac56f7c94dad609b1d69ec4ffa9e7 /src | |
parent | 964b3746b9c81e65887e2ac9a335f181db2bb592 (diff) | |
download | vim-git-71de720c2c117137185a6fc233b35aab37f0d4bc.tar.gz |
patch 8.1.1385: signed/unsigned compiler warningv8.1.1385
Problem: Signed/unsigned compiler warning.
Solution: Use STRLEN() instead of strlen().
Diffstat (limited to 'src')
-rw-r--r-- | src/fileio.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index e41f96762..4182d563f 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -7198,7 +7198,7 @@ readdir_core( if (buf == NULL) return FAIL; STRNCPY(buf, path, MAXPATHL-5); - p = buf + strlen(buf); + p = buf + STRLEN(buf); MB_PTR_BACK(buf, p); if (*p == '\\' || *p == '/') *p = NUL; diff --git a/src/version.c b/src/version.c index 678d7e8fb..a66b7a560 100644 --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1385, +/**/ 1384, /**/ 1383, |