Karsten Hopp 64093b
To: vim-dev@vim.org
Karsten Hopp 64093b
Subject: Patch 7.1.154
Karsten Hopp 64093b
Fcc: outbox
Karsten Hopp 64093b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 64093b
Mime-Version: 1.0
Karsten Hopp 64093b
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 64093b
Content-Transfer-Encoding: 8bit
Karsten Hopp 64093b
------------
Karsten Hopp 64093b
Karsten Hopp 64093b
Patch 7.1.154
Karsten Hopp 64093b
Problem:    Compiler warning for signed/unsigned compare.
Karsten Hopp 64093b
Solution:   Add type cast.
Karsten Hopp 64093b
Files:	    src/screen.c
Karsten Hopp 64093b
Karsten Hopp 64093b
Karsten Hopp 64093b
*** ../vim-7.1.153/src/screen.c	Thu Nov  8 14:50:58 2007
Karsten Hopp 64093b
--- src/screen.c	Thu Nov  8 21:18:46 2007
Karsten Hopp 64093b
***************
Karsten Hopp 64093b
*** 4315,4321 ****
Karsten Hopp 64093b
  	    long prevcol = (long)(ptr - line) - (c == NUL);
Karsten Hopp 64093b
  
Karsten Hopp 64093b
  	    /* we're not really at that column when skipping some text */
Karsten Hopp 64093b
! 	    if ((wp->w_p_wrap ? wp->w_skipcol : wp->w_leftcol) > prevcol)
Karsten Hopp 64093b
  		++prevcol;
Karsten Hopp 64093b
  #endif
Karsten Hopp 64093b
  
Karsten Hopp 64093b
--- 4315,4321 ----
Karsten Hopp 64093b
  	    long prevcol = (long)(ptr - line) - (c == NUL);
Karsten Hopp 64093b
  
Karsten Hopp 64093b
  	    /* we're not really at that column when skipping some text */
Karsten Hopp 64093b
! 	    if ((long)(wp->w_p_wrap ? wp->w_skipcol : wp->w_leftcol) > prevcol)
Karsten Hopp 64093b
  		++prevcol;
Karsten Hopp 64093b
  #endif
Karsten Hopp 64093b
  
Karsten Hopp 64093b
*** ../vim-7.1.153/src/version.c	Thu Nov  8 20:47:34 2007
Karsten Hopp 64093b
--- src/version.c	Thu Nov  8 21:19:59 2007
Karsten Hopp 64093b
***************
Karsten Hopp 64093b
*** 668,669 ****
Karsten Hopp 64093b
--- 668,671 ----
Karsten Hopp 64093b
  {   /* Add new patch number below this line */
Karsten Hopp 64093b
+ /**/
Karsten Hopp 64093b
+     154,
Karsten Hopp 64093b
  /**/
Karsten Hopp 64093b
Karsten Hopp 64093b
-- 
Karsten Hopp 64093b
From "know your smileys":
Karsten Hopp 64093b
 :-F	Bucktoothed vampire with one tooth missing
Karsten Hopp 64093b
Karsten Hopp 64093b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 64093b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 64093b
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 64093b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///