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