mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
6ea1047585
commit
6bbd149e98
@ -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;
|
||||
|
@ -445,7 +445,7 @@ static int included_patches[] = {
|
||||
848,
|
||||
847,
|
||||
// 846 NA
|
||||
// 845,
|
||||
845,
|
||||
844,
|
||||
843,
|
||||
// 842 NA
|
||||
|
Loading…
Reference in New Issue
Block a user