summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-04 20:36:50 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-04 20:36:50 +0100
commit2ade714728ff824f67a9a24ef495d509a389ee2f (patch)
tree33d78af2717b6ba90227de9ac5bf3b93ef99c413
parent197c6b7da3ad4c3e3942a553f5dbc35722a4a349 (diff)
patch 8.1.2252: compiler warning for int sizev8.1.2252
Problem: Compiler warning for int size. Solution: Add type cast. (Mike Williams)
-rw-r--r--src/filepath.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/filepath.c b/src/filepath.c
index 4ddeeaf45a..8da6e17729 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -79,7 +79,7 @@ get_short_pathname(char_u **fnamep, char_u **bufp, int *fnamelen)
vim_free(wfname);
vim_free(newbuf);
- *fnamelen = l == 0 ? l : STRLEN(*bufp);
+ *fnamelen = l == 0 ? l : (int)STRLEN(*bufp);
return OK;
}
diff --git a/src/version.c b/src/version.c
index 767cbec8bd..9b4c386a4b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2252,
+/**/
2251,
/**/
2250,