]> granicus.if.org Git - vim/commitdiff
patch 7.4.969 v7.4.969
authorBram Moolenaar <Bram@vim.org>
Fri, 11 Dec 2015 21:38:36 +0000 (22:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Dec 2015 21:38:36 +0000 (22:38 +0100)
Problem:    Compiler warnings on Windowx x64 build.
Solution:   Add type casts. (Mike Williams)

src/option.c
src/version.c

index f8cb1ba7cd1bd0255fcd5f4248a0511c9299f863..3f98f47b85356390b40e0d5bb7684cf903bed1a8 100644 (file)
@@ -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;
            }
index 40a877d4337b4249e68707b381100f18f6adbe11..62990fc66bf19e770d6174c589caf38295c32380 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    969,
 /**/
     968,
 /**/