Karsten Hopp c5a20e
To: vim_dev@googlegroups.com
Karsten Hopp c5a20e
Subject: Patch 7.3.621
Karsten Hopp c5a20e
Fcc: outbox
Karsten Hopp c5a20e
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c5a20e
Mime-Version: 1.0
Karsten Hopp c5a20e
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c5a20e
Content-Transfer-Encoding: 8bit
Karsten Hopp c5a20e
------------
Karsten Hopp c5a20e
Karsten Hopp c5a20e
Patch 7.3.621
Karsten Hopp c5a20e
Problem:    Compiler warnings on 64 bit windows.
Karsten Hopp c5a20e
Solution:   Add type casts. (Mike Williams)
Karsten Hopp c5a20e
Files:	    src/ex_docmd.c, src/search.c
Karsten Hopp c5a20e
Karsten Hopp c5a20e
Karsten Hopp c5a20e
*** ../vim-7.3.620/src/ex_docmd.c	2012-07-27 21:12:03.000000000 +0200
Karsten Hopp c5a20e
--- src/ex_docmd.c	2012-08-02 21:19:22.000000000 +0200
Karsten Hopp c5a20e
***************
Karsten Hopp c5a20e
*** 3392,3398 ****
Karsten Hopp c5a20e
      /* Find start of last argument (argument just before cursor): */
Karsten Hopp c5a20e
      p = buff;
Karsten Hopp c5a20e
      xp->xp_pattern = p;
Karsten Hopp c5a20e
!     len = STRLEN(buff);
Karsten Hopp c5a20e
      while (*p && p < buff + len)
Karsten Hopp c5a20e
      {
Karsten Hopp c5a20e
  	if (*p == ' ' || *p == TAB)
Karsten Hopp c5a20e
--- 3392,3398 ----
Karsten Hopp c5a20e
      /* Find start of last argument (argument just before cursor): */
Karsten Hopp c5a20e
      p = buff;
Karsten Hopp c5a20e
      xp->xp_pattern = p;
Karsten Hopp c5a20e
!     len = (int)STRLEN(buff);
Karsten Hopp c5a20e
      while (*p && p < buff + len)
Karsten Hopp c5a20e
      {
Karsten Hopp c5a20e
  	if (*p == ' ' || *p == TAB)
Karsten Hopp c5a20e
*** ../vim-7.3.620/src/search.c	2012-07-29 12:55:21.000000000 +0200
Karsten Hopp c5a20e
--- src/search.c	2012-08-02 21:20:02.000000000 +0200
Karsten Hopp c5a20e
***************
Karsten Hopp c5a20e
*** 4621,4627 ****
Karsten Hopp c5a20e
  	    {
Karsten Hopp c5a20e
  		/* searching backwards, so set pos to last line and col */
Karsten Hopp c5a20e
  		pos.lnum = curwin->w_buffer->b_ml.ml_line_count;
Karsten Hopp c5a20e
! 		pos.col  = STRLEN(ml_get(curwin->w_buffer->b_ml.ml_line_count));
Karsten Hopp c5a20e
  	    }
Karsten Hopp c5a20e
  	}
Karsten Hopp c5a20e
  
Karsten Hopp c5a20e
--- 4621,4628 ----
Karsten Hopp c5a20e
  	    {
Karsten Hopp c5a20e
  		/* searching backwards, so set pos to last line and col */
Karsten Hopp c5a20e
  		pos.lnum = curwin->w_buffer->b_ml.ml_line_count;
Karsten Hopp c5a20e
! 		pos.col  = (colnr_T)STRLEN(
Karsten Hopp c5a20e
! 				ml_get(curwin->w_buffer->b_ml.ml_line_count));
Karsten Hopp c5a20e
  	    }
Karsten Hopp c5a20e
  	}
Karsten Hopp c5a20e
  
Karsten Hopp c5a20e
*** ../vim-7.3.620/src/version.c	2012-08-02 21:21:43.000000000 +0200
Karsten Hopp c5a20e
--- src/version.c	2012-08-02 21:23:13.000000000 +0200
Karsten Hopp c5a20e
***************
Karsten Hopp c5a20e
*** 716,717 ****
Karsten Hopp c5a20e
--- 716,719 ----
Karsten Hopp c5a20e
  {   /* Add new patch number below this line */
Karsten Hopp c5a20e
+ /**/
Karsten Hopp c5a20e
+     621,
Karsten Hopp c5a20e
  /**/
Karsten Hopp c5a20e
Karsten Hopp c5a20e
-- 
Karsten Hopp c5a20e
hundred-and-one symptoms of being an internet addict:
Karsten Hopp c5a20e
200. You really believe in the concept of a "paperless" office.
Karsten Hopp c5a20e
Karsten Hopp c5a20e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c5a20e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c5a20e
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c5a20e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///