mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 7.4.845
Problem: Compiler warning for possible loss of data. Solution: Add a type cast. (Erich Ritz)
This commit is contained in:
@@ -3985,7 +3985,7 @@ expand_env_esc(srcp, dst, dstlen, esc, one, startstr)
|
||||
len = dstlen;
|
||||
vim_strncpy(dst, var, len);
|
||||
dst += len;
|
||||
dstlen -= len;
|
||||
dstlen -= (int)len;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user