0
0
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:
Bram Moolenaar
2015-09-01 16:25:34 +02:00
parent 37a8de17d4
commit 5df1ed2de3
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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,
/**/ /**/