From: Bram Moolenaar Date: Sat, 2 Jul 2016 20:07:22 +0000 (+0200) Subject: patch 7.4.1986 X-Git-Tag: v7.4.1986 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fef524bbff9aa186838c35212b2f89f61d627cf8;p=vim patch 7.4.1986 Problem: Compiler warns for loss of data. Solution: Use size_t instead of int. (Christian Brabandt) --- 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 @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1986, /**/ 1985, /**/