Skip to content

Commit 35be453

Browse files
committed
patch 7.4.969
Problem: Compiler warnings on Windowx x64 build. Solution: Add type casts. (Mike Williams)
1 parent b65c749 commit 35be453

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/option.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3287,8 +3287,8 @@ set_init_1()
32873287
if (opt_idx >= 0)
32883288
{
32893289
#if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
3290-
if ((long)options[opt_idx].def_val[VI_DEFAULT] > (long)n
3291-
|| (long)options[opt_idx].def_val[VI_DEFAULT] == 0L)
3290+
if ((long)(long_i)options[opt_idx].def_val[VI_DEFAULT] > (long)n
3291+
|| (long)(long_i)options[opt_idx].def_val[VI_DEFAULT] == 0L)
32923292
#endif
32933293
options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
32943294
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
969,
744746
/**/
745747
968,
746748
/**/

0 commit comments

Comments
 (0)