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