mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 7.4.969
Problem: Compiler warnings on Windowx x64 build. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -3287,8 +3287,8 @@ set_init_1()
|
|||||||
if (opt_idx >= 0)
|
if (opt_idx >= 0)
|
||||||
{
|
{
|
||||||
#if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
|
#if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
|
||||||
if ((long)options[opt_idx].def_val[VI_DEFAULT] > (long)n
|
if ((long)(long_i)options[opt_idx].def_val[VI_DEFAULT] > (long)n
|
||||||
|| (long)options[opt_idx].def_val[VI_DEFAULT] == 0L)
|
|| (long)(long_i)options[opt_idx].def_val[VI_DEFAULT] == 0L)
|
||||||
#endif
|
#endif
|
||||||
options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
|
options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
|
||||||
}
|
}
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
969,
|
||||||
/**/
|
/**/
|
||||||
968,
|
968,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user