Karsten Hopp 9cbe62
To: vim-dev@vim.org
Karsten Hopp 9cbe62
Subject: Patch 7.2.012
Karsten Hopp 9cbe62
Fcc: outbox
Karsten Hopp 9cbe62
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9cbe62
Mime-Version: 1.0
Karsten Hopp 9cbe62
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 9cbe62
Content-Transfer-Encoding: 8bit
Karsten Hopp 9cbe62
------------
Karsten Hopp 9cbe62
Karsten Hopp 9cbe62
Patch 7.2.012
Karsten Hopp 9cbe62
Problem:    Compiler warnings when building with startup timing.
Karsten Hopp 9cbe62
Solution:   Add type casts.
Karsten Hopp 9cbe62
Files:	    src/ex_cmds2.c
Karsten Hopp 9cbe62
Karsten Hopp 9cbe62
Karsten Hopp 9cbe62
*** ../vim-7.2.011/src/ex_cmds2.c	Sun Jul 13 19:36:09 2008
Karsten Hopp 9cbe62
--- src/ex_cmds2.c	Tue Sep  2 11:14:41 2008
Karsten Hopp 9cbe62
***************
Karsten Hopp 9cbe62
*** 3145,3152 ****
Karsten Hopp 9cbe62
  	verbose_leave();
Karsten Hopp 9cbe62
      }
Karsten Hopp 9cbe62
  #ifdef STARTUPTIME
Karsten Hopp 9cbe62
!     vim_snprintf(IObuff, IOSIZE, "sourcing %s", fname);
Karsten Hopp 9cbe62
!     time_msg(IObuff, &tv_start);
Karsten Hopp 9cbe62
      time_pop(&tv_rel);
Karsten Hopp 9cbe62
  #endif
Karsten Hopp 9cbe62
  
Karsten Hopp 9cbe62
--- 3145,3152 ----
Karsten Hopp 9cbe62
  	verbose_leave();
Karsten Hopp 9cbe62
      }
Karsten Hopp 9cbe62
  #ifdef STARTUPTIME
Karsten Hopp 9cbe62
!     vim_snprintf((char *)IObuff, IOSIZE, "sourcing %s", fname);
Karsten Hopp 9cbe62
!     time_msg((char *)IObuff, &tv_start);
Karsten Hopp 9cbe62
      time_pop(&tv_rel);
Karsten Hopp 9cbe62
  #endif
Karsten Hopp 9cbe62
  
Karsten Hopp 9cbe62
*** ../vim-7.2.011/src/version.c	Sun Sep  7 13:54:31 2008
Karsten Hopp 9cbe62
--- src/version.c	Sun Sep  7 15:49:00 2008
Karsten Hopp 9cbe62
***************
Karsten Hopp 9cbe62
*** 678,679 ****
Karsten Hopp 9cbe62
--- 678,681 ----
Karsten Hopp 9cbe62
  {   /* Add new patch number below this line */
Karsten Hopp 9cbe62
+ /**/
Karsten Hopp 9cbe62
+     12,
Karsten Hopp 9cbe62
  /**/
Karsten Hopp 9cbe62
Karsten Hopp 9cbe62
-- 
Karsten Hopp 9cbe62
He who laughs last, thinks slowest.
Karsten Hopp 9cbe62
Karsten Hopp 9cbe62
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9cbe62
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9cbe62
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 9cbe62
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///