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