Patch 7.4.969
Problem:    Compiler warnings on Windowx x64 build.
Solution:   Add type casts. (Mike Williams)
Files:      src/option.c


*** ../vim-7.4.968/src/option.c 2015-11-24 18:45:52.637647023 +0100
--- src/option.c        2015-12-11 22:32:41.423903993 +0100
***************
*** 3287,3294 ****
            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)
  #endif
                    options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
            }
--- 3287,3294 ----
            if (opt_idx >= 0)
            {
  #if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
!               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;
            }
*** ../vim-7.4.968/src/version.c        2015-12-11 20:53:54.094505999 +0100
--- src/version.c       2015-12-11 22:33:18.507441140 +0100
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     969,
  /**/

-- 
"Marriage is a wonderful institution...
but who wants to live in an institution?"
 - Groucho Marx

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui