vim-patch:7.4.845

Problem:    Compiler warning for possible loss of data.
Solution:   Add a type cast. (Erich Ritz)

5df1ed2de3
This commit is contained in:
watiko 2016-02-13 13:21:44 +09:00
parent 6ea1047585
commit 6bbd149e98
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ void expand_env_esc(char_u *srcp, char_u *dst, int dstlen, bool esc, bool one,
}
memcpy((char *)dst, (char *)var, len);
dst += len;
dstlen -= len;
dstlen -= (int)len;
continue;
}
copy_char = true;

View File

@ -445,7 +445,7 @@ static int included_patches[] = {
848,
847,
// 846 NA
// 845,
845,
844,
843,
// 842 NA