diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-02 22:07:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-02 22:07:22 +0200 |
commit | fef524bbff9aa186838c35212b2f89f61d627cf8 (patch) | |
tree | fcdbba54905b31448b772327ae2f557434199dd7 | |
parent | 3b98b830017b8bf5fd270db93dfe187434df1960 (diff) | |
download | vim-git-fef524bbff9aa186838c35212b2f89f61d627cf8.tar.gz |
patch 7.4.1986v7.4.1986
Problem: Compiler warns for loss of data.
Solution: Use size_t instead of int. (Christian Brabandt)
-rw-r--r-- | src/ex_cmds2.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 07458edc0..eb06e385e 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -3349,7 +3349,7 @@ add_pack_plugin(char_u *fname, void *cookie) char_u *afterdir; size_t afterlen = 0; char_u *ffname = fix_fname(fname); - int fname_len; + size_t fname_len; if (ffname == NULL) return; diff --git a/src/version.c b/src/version.c index a469530e3..8a7c8d774 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1986, +/**/ 1985, /**/ 1984, |