Karsten Hopp 40f488
To: vim_dev@googlegroups.com
Karsten Hopp 40f488
Subject: Patch 7.4.087
Karsten Hopp 40f488
Fcc: outbox
Karsten Hopp 40f488
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 40f488
Mime-Version: 1.0
Karsten Hopp 40f488
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 40f488
Content-Transfer-Encoding: 8bit
Karsten Hopp 40f488
------------
Karsten Hopp 40f488
Karsten Hopp 40f488
Patch 7.4.087
Karsten Hopp 40f488
Problem:    Compiler warning on 64 bit Windows systems.
Karsten Hopp 40f488
Solution:   Fix type cast. (Mike Williams)
Karsten Hopp 40f488
Files:      src/ops.c
Karsten Hopp 40f488
Karsten Hopp 40f488
Karsten Hopp 40f488
*** ../vim-7.4.086/src/ops.c	2013-11-11 01:29:16.000000000 +0100
Karsten Hopp 40f488
--- src/ops.c	2013-11-11 23:16:06.000000000 +0100
Karsten Hopp 40f488
***************
Karsten Hopp 40f488
*** 2193,2199 ****
Karsten Hopp 40f488
  	    else
Karsten Hopp 40f488
  	    {
Karsten Hopp 40f488
  		/* Replacing with \r or \n means splitting the line. */
Karsten Hopp 40f488
! 		after_p = alloc_check((unsigned)oldlen + 1 + n - STRLEN(newp));
Karsten Hopp 40f488
  		if (after_p != NULL)
Karsten Hopp 40f488
  		    STRMOVE(after_p, oldp);
Karsten Hopp 40f488
  	    }
Karsten Hopp 40f488
--- 2193,2200 ----
Karsten Hopp 40f488
  	    else
Karsten Hopp 40f488
  	    {
Karsten Hopp 40f488
  		/* Replacing with \r or \n means splitting the line. */
Karsten Hopp 40f488
! 		after_p = alloc_check(
Karsten Hopp 40f488
! 				   (unsigned)(oldlen + 1 + n - STRLEN(newp)));
Karsten Hopp 40f488
  		if (after_p != NULL)
Karsten Hopp 40f488
  		    STRMOVE(after_p, oldp);
Karsten Hopp 40f488
  	    }
Karsten Hopp 40f488
*** ../vim-7.4.086/src/version.c	2013-11-11 04:25:48.000000000 +0100
Karsten Hopp 40f488
--- src/version.c	2013-11-11 23:16:23.000000000 +0100
Karsten Hopp 40f488
***************
Karsten Hopp 40f488
*** 740,741 ****
Karsten Hopp 40f488
--- 740,743 ----
Karsten Hopp 40f488
  {   /* Add new patch number below this line */
Karsten Hopp 40f488
+ /**/
Karsten Hopp 40f488
+     87,
Karsten Hopp 40f488
  /**/
Karsten Hopp 40f488
Karsten Hopp 40f488
Karsten Hopp 40f488
-- 
Karsten Hopp 40f488
SECOND SOLDIER: It could be carried by an African swallow!
Karsten Hopp 40f488
FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
Karsten Hopp 40f488
                swallow. that's my point.
Karsten Hopp 40f488
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 40f488
Karsten Hopp 40f488
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 40f488
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 40f488
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 40f488
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///