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