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