dcaee6
To: vim_dev@googlegroups.com
dcaee6
Subject: Patch 7.4.058
dcaee6
Fcc: outbox
dcaee6
From: Bram Moolenaar <Bram@moolenaar.net>
dcaee6
Mime-Version: 1.0
dcaee6
Content-Type: text/plain; charset=UTF-8
dcaee6
Content-Transfer-Encoding: 8bit
dcaee6
------------
dcaee6
dcaee6
Patch 7.4.058
dcaee6
Problem:    Warnings on 64 bit Windows.
dcaee6
Solution:   Add type casts. (Mike Williams)
dcaee6
Files:      src/ops.c
dcaee6
dcaee6
dcaee6
*** ../vim-7.4.057/src/ops.c	2013-10-06 17:46:48.000000000 +0200
dcaee6
--- src/ops.c	2013-11-02 23:56:15.000000000 +0100
dcaee6
***************
dcaee6
*** 5009,5022 ****
dcaee6
  		    if (second_indent > 0)  /* the "leader" for FO_Q_SECOND */
dcaee6
  		{
dcaee6
  		    char_u *p = ml_get_curline();
dcaee6
! 		    int indent = skipwhite(p) - p;
dcaee6
  
dcaee6
  		    if (indent > 0)
dcaee6
  		    {
dcaee6
  			(void)del_bytes(indent, FALSE, FALSE);
dcaee6
  			mark_col_adjust(curwin->w_cursor.lnum,
dcaee6
  					       (colnr_T)0, 0L, (long)-indent);
dcaee6
! 		      }
dcaee6
  		}
dcaee6
  		curwin->w_cursor.lnum--;
dcaee6
  		if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
dcaee6
--- 5009,5022 ----
dcaee6
  		    if (second_indent > 0)  /* the "leader" for FO_Q_SECOND */
dcaee6
  		{
dcaee6
  		    char_u *p = ml_get_curline();
dcaee6
! 		    int indent = (int)(skipwhite(p) - p);
dcaee6
  
dcaee6
  		    if (indent > 0)
dcaee6
  		    {
dcaee6
  			(void)del_bytes(indent, FALSE, FALSE);
dcaee6
  			mark_col_adjust(curwin->w_cursor.lnum,
dcaee6
  					       (colnr_T)0, 0L, (long)-indent);
dcaee6
! 		    }
dcaee6
  		}
dcaee6
  		curwin->w_cursor.lnum--;
dcaee6
  		if (do_join(2, TRUE, FALSE, FALSE) == FAIL)
dcaee6
*** ../vim-7.4.057/src/version.c	2013-11-02 23:29:17.000000000 +0100
dcaee6
--- src/version.c	2013-11-02 23:55:01.000000000 +0100
dcaee6
***************
dcaee6
*** 740,741 ****
dcaee6
--- 740,743 ----
dcaee6
  {   /* Add new patch number below this line */
dcaee6
+ /**/
dcaee6
+     58,
dcaee6
  /**/
dcaee6
dcaee6
-- 
dcaee6
Citizens are not allowed to attend a movie house or theater nor ride in a
dcaee6
public streetcar within at least four hours after eating garlic.
dcaee6
		[real standing law in Indiana, United States of America]
dcaee6
dcaee6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
dcaee6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
dcaee6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
dcaee6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///