jkunstle / rpms / vim

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