1fa1ff
To: vim_dev@googlegroups.com
1fa1ff
Subject: Patch 7.4.023
1fa1ff
Fcc: outbox
1fa1ff
From: Bram Moolenaar <Bram@moolenaar.net>
1fa1ff
Mime-Version: 1.0
1fa1ff
Content-Type: text/plain; charset=UTF-8
1fa1ff
Content-Transfer-Encoding: 8bit
1fa1ff
------------
1fa1ff
1fa1ff
Patch 7.4.023
1fa1ff
Problem:    Compiler warning on 64 bit windows.
1fa1ff
Solution:   Add type cast. (Mike Williams)
1fa1ff
Files:	    src/edit.c
1fa1ff
1fa1ff
1fa1ff
*** ../vim-7.4.022/src/edit.c	2013-09-05 13:50:49.000000000 +0200
1fa1ff
--- src/edit.c	2013-09-06 17:32:55.000000000 +0200
1fa1ff
***************
1fa1ff
*** 5189,5195 ****
1fa1ff
  	    mb_ptr_back(line, p);
1fa1ff
  	    while (vim_isfilec(PTR2CHAR(p)) && p >= line)
1fa1ff
  		mb_ptr_back(line, p);
1fa1ff
! 	    startcol = p - line;
1fa1ff
  
1fa1ff
  	    compl_col += ++startcol;
1fa1ff
  	    compl_length = (int)curs_col - startcol;
1fa1ff
--- 5189,5195 ----
1fa1ff
  	    mb_ptr_back(line, p);
1fa1ff
  	    while (vim_isfilec(PTR2CHAR(p)) && p >= line)
1fa1ff
  		mb_ptr_back(line, p);
1fa1ff
! 	    startcol = (int)(p - line);
1fa1ff
  
1fa1ff
  	    compl_col += ++startcol;
1fa1ff
  	    compl_length = (int)curs_col - startcol;
1fa1ff
*** ../vim-7.4.022/src/version.c	2013-09-05 21:41:35.000000000 +0200
1fa1ff
--- src/version.c	2013-09-06 17:33:41.000000000 +0200
1fa1ff
***************
1fa1ff
*** 740,741 ****
1fa1ff
--- 740,743 ----
1fa1ff
  {   /* Add new patch number below this line */
1fa1ff
+ /**/
1fa1ff
+     23,
1fa1ff
  /**/
1fa1ff
1fa1ff
-- 
1fa1ff
Wizards had always known that the act of observation changed the thing that
1fa1ff
was observed, and sometimes forgot that it also changed the observer too.
1fa1ff
			Terry Pratchett  -  Interesting times
1fa1ff
1fa1ff
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
1fa1ff
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
1fa1ff
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
1fa1ff
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///