# HG changeset patch # User Christian Brabandt # Date 1449870305 -3600 # Node ID 6679f41bddea88bc5ecfb56b946acbed84a4f8ed # Parent 8b6df255c08843553d7aae8a2d6efff4d22d473d commit https://github.com/vim/vim/commit/35be4534c029148a89ccc41e8e465d793e7ed7c2 Author: Bram Moolenaar Date: Fri Dec 11 22:38:36 2015 +0100 patch 7.4.969 Problem: Compiler warnings on Windowx x64 build. Solution: Add type casts. (Mike Williams) diff --git a/src/option.c b/src/option.c --- a/src/option.c +++ b/src/option.c @@ -3287,8 +3287,8 @@ set_init_1() if (opt_idx >= 0) { #if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM) - if ((long)options[opt_idx].def_val[VI_DEFAULT] > (long)n - || (long)options[opt_idx].def_val[VI_DEFAULT] == 0L) + if ((long)(long_i)options[opt_idx].def_val[VI_DEFAULT] > (long)n + || (long)(long_i)options[opt_idx].def_val[VI_DEFAULT] == 0L) #endif options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 969, +/**/ 968, /**/ 967,