Karsten Hopp ca34cb
To: vim_dev@googlegroups.com
Karsten Hopp ca34cb
Subject: Patch 7.3.556
Karsten Hopp ca34cb
Fcc: outbox
Karsten Hopp ca34cb
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ca34cb
Mime-Version: 1.0
Karsten Hopp ca34cb
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ca34cb
Content-Transfer-Encoding: 8bit
Karsten Hopp ca34cb
------------
Karsten Hopp ca34cb
Karsten Hopp ca34cb
Patch 7.3.556
Karsten Hopp ca34cb
Problem:    Compiler warnings on 64 bit Windows.
Karsten Hopp ca34cb
Solution:   Add type casts. (Mike Williams)
Karsten Hopp ca34cb
Files:	    src/misc1.c
Karsten Hopp ca34cb
Karsten Hopp ca34cb
Karsten Hopp ca34cb
*** ../vim-7.3.555/src/misc1.c	2012-06-13 17:28:51.000000000 +0200
Karsten Hopp ca34cb
--- src/misc1.c	2012-06-14 20:55:47.000000000 +0200
Karsten Hopp ca34cb
***************
Karsten Hopp ca34cb
*** 445,452 ****
Karsten Hopp ca34cb
  	    if (vim_regexec(&regmatch, ml_get(lnum) + lead_len, (colnr_T)0))
Karsten Hopp ca34cb
  	    {
Karsten Hopp ca34cb
  		pos.lnum = lnum;
Karsten Hopp ca34cb
! 		pos.col  = *regmatch.endp - (ml_get(lnum) + lead_len);
Karsten Hopp ca34cb
! 		pos.col += lead_len;
Karsten Hopp ca34cb
  #ifdef FEAT_VIRTUALEDIT
Karsten Hopp ca34cb
  		pos.coladd = 0;
Karsten Hopp ca34cb
  #endif
Karsten Hopp ca34cb
--- 445,451 ----
Karsten Hopp ca34cb
  	    if (vim_regexec(&regmatch, ml_get(lnum) + lead_len, (colnr_T)0))
Karsten Hopp ca34cb
  	    {
Karsten Hopp ca34cb
  		pos.lnum = lnum;
Karsten Hopp ca34cb
! 		pos.col = (colnr_T)(*regmatch.endp - ml_get(lnum));
Karsten Hopp ca34cb
  #ifdef FEAT_VIRTUALEDIT
Karsten Hopp ca34cb
  		pos.coladd = 0;
Karsten Hopp ca34cb
  #endif
Karsten Hopp ca34cb
***************
Karsten Hopp ca34cb
*** 1354,1360 ****
Karsten Hopp ca34cb
  	if (flags & OPENLINE_COM_LIST && second_line_indent > 0)
Karsten Hopp ca34cb
  	{
Karsten Hopp ca34cb
  	    int i;
Karsten Hopp ca34cb
! 	    int padding = second_line_indent - (newindent + STRLEN(leader));
Karsten Hopp ca34cb
  
Karsten Hopp ca34cb
  	    /* Here whitespace is inserted after the comment char.
Karsten Hopp ca34cb
  	     * Below, set_indent(newindent, SIN_INSERT) will insert the
Karsten Hopp ca34cb
--- 1353,1360 ----
Karsten Hopp ca34cb
  	if (flags & OPENLINE_COM_LIST && second_line_indent > 0)
Karsten Hopp ca34cb
  	{
Karsten Hopp ca34cb
  	    int i;
Karsten Hopp ca34cb
! 	    int padding = second_line_indent
Karsten Hopp ca34cb
! 					  - (newindent + (int)STRLEN(leader));
Karsten Hopp ca34cb
  
Karsten Hopp ca34cb
  	    /* Here whitespace is inserted after the comment char.
Karsten Hopp ca34cb
  	     * Below, set_indent(newindent, SIN_INSERT) will insert the
Karsten Hopp ca34cb
*** ../vim-7.3.555/src/version.c	2012-06-13 19:19:36.000000000 +0200
Karsten Hopp ca34cb
--- src/version.c	2012-06-14 20:54:59.000000000 +0200
Karsten Hopp ca34cb
***************
Karsten Hopp ca34cb
*** 716,717 ****
Karsten Hopp ca34cb
--- 716,719 ----
Karsten Hopp ca34cb
  {   /* Add new patch number below this line */
Karsten Hopp ca34cb
+ /**/
Karsten Hopp ca34cb
+     556,
Karsten Hopp ca34cb
  /**/
Karsten Hopp ca34cb
Karsten Hopp ca34cb
-- 
Karsten Hopp ca34cb
He who laughs last, thinks slowest.
Karsten Hopp ca34cb
Karsten Hopp ca34cb
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ca34cb
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ca34cb
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ca34cb
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///