Karsten Hopp 141ccd
To: vim_dev@googlegroups.com
Karsten Hopp 141ccd
Subject: Patch 7.4.839
Karsten Hopp 141ccd
Fcc: outbox
Karsten Hopp 141ccd
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 141ccd
Mime-Version: 1.0
Karsten Hopp 141ccd
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 141ccd
Content-Transfer-Encoding: 8bit
Karsten Hopp 141ccd
------------
Karsten Hopp 141ccd
Karsten Hopp 141ccd
Patch 7.4.839
Karsten Hopp 141ccd
Problem:    Compiler warning on 64-bit system.
Karsten Hopp 141ccd
Solution:   Add cast to int. (Mike Williams)
Karsten Hopp 141ccd
Files:      src/search.c
Karsten Hopp 141ccd
Karsten Hopp 141ccd
Karsten Hopp 141ccd
*** ../vim-7.4.838/src/search.c	2015-08-13 23:28:38.246878308 +0200
Karsten Hopp 141ccd
--- src/search.c	2015-08-26 22:58:31.183512457 +0200
Karsten Hopp 141ccd
***************
Karsten Hopp 141ccd
*** 1801,1807 ****
Karsten Hopp 141ccd
      for (p = linep + startpos->col + 1; *p && *p != '('; ++p)
Karsten Hopp 141ccd
  	;
Karsten Hopp 141ccd
      delim_len = (p - linep) - startpos->col - 1;
Karsten Hopp 141ccd
!     delim_copy = vim_strnsave(linep + startpos->col + 1, delim_len);
Karsten Hopp 141ccd
      if (delim_copy == NULL)
Karsten Hopp 141ccd
  	return FALSE;
Karsten Hopp 141ccd
      for (lnum = startpos->lnum; lnum <= endpos->lnum; ++lnum)
Karsten Hopp 141ccd
--- 1801,1807 ----
Karsten Hopp 141ccd
      for (p = linep + startpos->col + 1; *p && *p != '('; ++p)
Karsten Hopp 141ccd
  	;
Karsten Hopp 141ccd
      delim_len = (p - linep) - startpos->col - 1;
Karsten Hopp 141ccd
!     delim_copy = vim_strnsave(linep + startpos->col + 1, (int)delim_len);
Karsten Hopp 141ccd
      if (delim_copy == NULL)
Karsten Hopp 141ccd
  	return FALSE;
Karsten Hopp 141ccd
      for (lnum = startpos->lnum; lnum <= endpos->lnum; ++lnum)
Karsten Hopp 141ccd
*** ../vim-7.4.838/src/version.c	2015-08-25 21:27:31.312156958 +0200
Karsten Hopp 141ccd
--- src/version.c	2015-08-26 22:59:14.719028665 +0200
Karsten Hopp 141ccd
***************
Karsten Hopp 141ccd
*** 743,744 ****
Karsten Hopp 141ccd
--- 743,746 ----
Karsten Hopp 141ccd
  {   /* Add new patch number below this line */
Karsten Hopp 141ccd
+ /**/
Karsten Hopp 141ccd
+     839,
Karsten Hopp 141ccd
  /**/
Karsten Hopp 141ccd
Karsten Hopp 141ccd
-- 
Karsten Hopp 141ccd
Close your shells, or I'll kill -9 you
Karsten Hopp 141ccd
Tomorrow I'll quota you
Karsten Hopp 141ccd
Remember the disks'll always be full
Karsten Hopp 141ccd
And then while I'm away
Karsten Hopp 141ccd
I'll write ~ everyday
Karsten Hopp 141ccd
And I'll send-pr all my buggings to you.
Karsten Hopp 141ccd
    [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ]
Karsten Hopp 141ccd
Karsten Hopp 141ccd
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 141ccd
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 141ccd
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 141ccd
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///