]> granicus.if.org Git - vim/commitdiff
patch 7.4.1986 v7.4.1986
authorBram Moolenaar <Bram@vim.org>
Sat, 2 Jul 2016 20:07:22 +0000 (22:07 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 2 Jul 2016 20:07:22 +0000 (22:07 +0200)
Problem:    Compiler warns for loss of data.
Solution:   Use size_t instead of int. (Christian Brabandt)

src/ex_cmds2.c
src/version.c

index 07458edc0a2ad7ddb30568d145ea365e3665a5a3..eb06e385ec57474ab5edf28bd7dfef267b0c2826 100644 (file)
@@ -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;
index a469530e3880cdc78b14cf1c1290670c8a187739..8a7c8d77402e09d82316aa6b57b35825cb327952 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1986,
 /**/
     1985,
 /**/