mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +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);
|
||||
dst += len;
|
||||
dstlen -= len;
|
||||
dstlen -= (int)len;
|
||||
continue;
|
||||
}
|
||||
copy_char = true;
|
||||
|
Reference in New Issue
Block a user