0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1986

Problem:    Compiler warns for loss of data.
Solution:   Use size_t instead of int. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2016-07-02 22:07:22 +02:00
parent 3b98b83001
commit fef524bbff
2 changed files with 3 additions and 1 deletions

View 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;