changeset 9410:5a095f9e77ed v7.4.1986

commit https://github.com/vim/vim/commit/fef524bbff9aa186838c35212b2f89f61d627cf8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 2 22:07:22 2016 +0200 patch 7.4.1986 Problem: Compiler warns for loss of data. Solution: Use size_t instead of int. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jul 2016 22:15:05 +0200
parents 70a2b46d8c90
children f3e9d167b0f9
files src/ex_cmds2.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3349,7 +3349,7 @@ add_pack_plugin(char_u *fname, void *coo
     char_u  *afterdir;
     size_t  afterlen = 0;
     char_u  *ffname = fix_fname(fname);
-    int	    fname_len;
+    size_t  fname_len;
 
     if (ffname == NULL)
 	return;
--- 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,