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