Patch 8.0.0469
Problem:    Compiler warnings on MS-Windows.
Solution:   Add type casts. (Christian Brabandt)
Files:      src/fold.c


*** ../vim-8.0.0468/src/fold.c  2017-03-16 15:59:10.684531392 +0100
--- src/fold.c  2017-03-16 22:06:37.872827685 +0100
***************
*** 3137,3145 ****
       * order. We have to swap folds in the range [move_end, dest_index) with
       * those in the range [move_start, move_end).
       */
!     foldReverseOrder(gap, move_start, dest_index - 1);
!     foldReverseOrder(gap, move_start, move_start + dest_index - move_end - 1);
!     foldReverseOrder(gap, move_start + dest_index - move_end, dest_index - 1);
  }
  #undef fold_end
  #undef valid_fold
--- 3137,3147 ----
       * order. We have to swap folds in the range [move_end, dest_index) with
       * those in the range [move_start, move_end).
       */
!     foldReverseOrder(gap, (linenr_T)move_start, (linenr_T)dest_index - 1);
!     foldReverseOrder(gap, (linenr_T)move_start,
!                          (linenr_T)(move_start + dest_index - move_end - 1));
!     foldReverseOrder(gap, (linenr_T)(move_start + dest_index - move_end),
!                                                  (linenr_T)(dest_index - 1));
  }
  #undef fold_end
  #undef valid_fold
*** ../vim-8.0.0468/src/version.c       2017-03-16 19:58:19.420253384 +0100
--- src/version.c       2017-03-16 22:05:56.789124414 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     469,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
136. You decide to stay in a low-paying job teaching just for the
     free Internet access.

 /// 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