# HG changeset patch # User Bram Moolenaar # Date 1558718105 -7200 # Node ID d2deaaf2130500e802a93d95f4f252ce3d084a21 # Parent 1dbbc53a7a0b23e6f4b83bbbf20a09472a9ca22d patch 8.1.1385: signed/unsigned compiler warning commit https://github.com/vim/vim/commit/71de720c2c117137185a6fc233b35aab37f0d4bc Author: Bram Moolenaar Date: Fri May 24 19:04:29 2019 +0200 patch 8.1.1385: signed/unsigned compiler warning Problem: Signed/unsigned compiler warning. Solution: Use STRLEN() instead of strlen(). diff --git a/src/fileio.c b/src/fileio.c --- 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 --- 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,