mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00: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:
@@ -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);
|
memcpy((char *)dst, (char *)var, len);
|
||||||
dst += len;
|
dst += len;
|
||||||
dstlen -= len;
|
dstlen -= (int)len;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
copy_char = true;
|
copy_char = true;
|
||||||
|
@@ -445,7 +445,7 @@ static int included_patches[] = {
|
|||||||
848,
|
848,
|
||||||
847,
|
847,
|
||||||
// 846 NA
|
// 846 NA
|
||||||
// 845,
|
845,
|
||||||
844,
|
844,
|
||||||
843,
|
843,
|
||||||
// 842 NA
|
// 842 NA
|
||||||
|
Reference in New Issue
Block a user