mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -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;
|
len = dstlen;
|
||||||
vim_strncpy(dst, var, len);
|
vim_strncpy(dst, var, len);
|
||||||
dst += len;
|
dst += len;
|
||||||
dstlen -= len;
|
dstlen -= (int)len;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
845,
|
||||||
/**/
|
/**/
|
||||||
844,
|
844,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user