Patch 7.1.239 (after 7.1.233)
Problem:    Compiler warning for sprintf() argument.
Solution:   Add a typecast. (Nico Weber)
Files:      src/ex_getln.c


*** ../vim-7.1.238/src/ex_getln.c       Sat Jan 19 15:55:51 2008
--- src/ex_getln.c      Tue Jan 22 12:40:54 2008
***************
*** 4694,4700 ****
      {
        /* Completion from Insert mode, pass fake arguments. */
        keep = 0;
!       sprintf((char *)num, "%d", STRLEN(xp->xp_pattern));
        args[1] = xp->xp_pattern;
      }
      else
--- 4694,4700 ----
      {
        /* Completion from Insert mode, pass fake arguments. */
        keep = 0;
!       sprintf((char *)num, "%d", (int)STRLEN(xp->xp_pattern));
        args[1] = xp->xp_pattern;
      }
      else
*** ../vim-7.1.238/src/version.c        Tue Jan 22 11:58:41 2008
--- src/version.c       Tue Jan 22 12:42:36 2008
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     239,
  /**/

-- 
We apologise again for the fault in the subtitles.  Those responsible for
sacking the people who have just been sacked have been sacked.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui