Bram Moolenaar | 2 Aug 2012 21:25
Picon

Patch 7.3.621


Patch 7.3.621
Problem:    Compiler warnings on 64 bit windows.
Solution:   Add type casts. (Mike Williams)
Files:	    src/ex_docmd.c, src/search.c

*** ../vim-7.3.620/src/ex_docmd.c	2012-07-27 21:12:03.000000000 +0200
--- src/ex_docmd.c	2012-08-02 21:19:22.000000000 +0200
***************
*** 3392,3398 ****
      /* Find start of last argument (argument just before cursor): */
      p = buff;
      xp->xp_pattern = p;
!     len = STRLEN(buff);
      while (*p && p < buff + len)
      {
  	if (*p == ' ' || *p == TAB)
--- 3392,3398 ----
      /* Find start of last argument (argument just before cursor): */
      p = buff;
      xp->xp_pattern = p;
!     len = (int)STRLEN(buff);
      while (*p && p < buff + len)
      {
  	if (*p == ' ' || *p == TAB)
*** ../vim-7.3.620/src/search.c	2012-07-29 12:55:21.000000000 +0200
--- src/search.c	2012-08-02 21:20:02.000000000 +0200
***************
*** 4621,4627 ****
  	    {
(Continue reading)


Gmane