lkundrak / rpms / vim

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