jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
8b9a1c
To: vim_dev@googlegroups.com
8b9a1c
Subject: Patch 7.4.087
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.087
8b9a1c
Problem:    Compiler warning on 64 bit Windows systems.
8b9a1c
Solution:   Fix type cast. (Mike Williams)
8b9a1c
Files:      src/ops.c
8b9a1c
8b9a1c
8b9a1c
*** ../vim-7.4.086/src/ops.c	2013-11-11 01:29:16.000000000 +0100
8b9a1c
--- src/ops.c	2013-11-11 23:16:06.000000000 +0100
8b9a1c
***************
8b9a1c
*** 2193,2199 ****
8b9a1c
  	    else
8b9a1c
  	    {
8b9a1c
  		/* Replacing with \r or \n means splitting the line. */
8b9a1c
! 		after_p = alloc_check((unsigned)oldlen + 1 + n - STRLEN(newp));
8b9a1c
  		if (after_p != NULL)
8b9a1c
  		    STRMOVE(after_p, oldp);
8b9a1c
  	    }
8b9a1c
--- 2193,2200 ----
8b9a1c
  	    else
8b9a1c
  	    {
8b9a1c
  		/* Replacing with \r or \n means splitting the line. */
8b9a1c
! 		after_p = alloc_check(
8b9a1c
! 				   (unsigned)(oldlen + 1 + n - STRLEN(newp)));
8b9a1c
  		if (after_p != NULL)
8b9a1c
  		    STRMOVE(after_p, oldp);
8b9a1c
  	    }
8b9a1c
*** ../vim-7.4.086/src/version.c	2013-11-11 04:25:48.000000000 +0100
8b9a1c
--- src/version.c	2013-11-11 23:16:23.000000000 +0100
8b9a1c
***************
8b9a1c
*** 740,741 ****
8b9a1c
--- 740,743 ----
8b9a1c
  {   /* Add new patch number below this line */
8b9a1c
+ /**/
8b9a1c
+     87,
8b9a1c
  /**/
8b9a1c
8b9a1c
8b9a1c
-- 
8b9a1c
SECOND SOLDIER: It could be carried by an African swallow!
8b9a1c
FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
8b9a1c
                swallow. that's my point.
8b9a1c
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
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    ///