459c70e
To: vim-dev@vim.org
459c70e
Subject: Patch 7.2.098
459c70e
Fcc: outbox
459c70e
From: Bram Moolenaar <Bram@moolenaar.net>
459c70e
Mime-Version: 1.0
459c70e
Content-Type: text/plain; charset=ISO-8859-1
459c70e
Content-Transfer-Encoding: 8bit
459c70e
------------
459c70e
459c70e
Patch 7.2.098
459c70e
Problem:    Warning for signed/unsigned pointer.
459c70e
Solution:   Add type cast.
459c70e
Files:	    src/eval.c
459c70e
459c70e
459c70e
*** ../vim-7.2.097/src/eval.c	Wed Jan 28 19:08:31 2009
459c70e
--- src/eval.c	Wed Feb  4 13:09:01 2009
459c70e
***************
459c70e
*** 3928,3934 ****
459c70e
  
459c70e
  /*
459c70e
   * Handle top level expression:
459c70e
!  *	expr1 ? expr0 : expr0
459c70e
   *
459c70e
   * "arg" must point to the first non-white of the expression.
459c70e
   * "arg" is advanced to the next non-white after the recognized expression.
459c70e
--- 3928,3934 ----
459c70e
  
459c70e
  /*
459c70e
   * Handle top level expression:
459c70e
!  *	expr2 ? expr1 : expr1
459c70e
   *
459c70e
   * "arg" must point to the first non-white of the expression.
459c70e
   * "arg" is advanced to the next non-white after the recognized expression.
459c70e
***************
459c70e
*** 19912,19918 ****
459c70e
  						      : eval_isnamec(arg[j])))
459c70e
  		++j;
459c70e
  	    if (arg[j] != NUL)
459c70e
! 		emsg_funcname(e_invarg2, arg);
459c70e
  	}
459c70e
      }
459c70e
  
459c70e
--- 19912,19918 ----
459c70e
  						      : eval_isnamec(arg[j])))
459c70e
  		++j;
459c70e
  	    if (arg[j] != NUL)
459c70e
! 		emsg_funcname((char *)e_invarg2, arg);
459c70e
  	}
459c70e
      }
459c70e
  
459c70e
*** ../vim-7.2.097/src/version.c	Wed Feb  4 14:18:44 2009
459c70e
--- src/version.c	Wed Feb  4 16:24:06 2009
459c70e
***************
459c70e
*** 678,679 ****
459c70e
--- 678,681 ----
459c70e
  {   /* Add new patch number below this line */
459c70e
+ /**/
459c70e
+     98,
459c70e
  /**/
459c70e
459c70e
-- 
459c70e
Everybody lies, but it doesn't matter since nobody listens.
459c70e
                                -- Lieberman's Law
459c70e
459c70e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
459c70e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
459c70e
\\\        download, build and distribute -- http://www.A-A-P.org        ///
459c70e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///