3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.126
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.126
3ef2ca
Problem:    Compiler warnings for "const" and incompatible types.
3ef2ca
Solution:   Remove "const", add type cast. (Ken Takata)
3ef2ca
Files:	    src/os_win32.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.125/src/os_win32.c	2013-12-11 18:36:28.000000000 +0100
3ef2ca
--- src/os_win32.c	2013-12-12 20:19:39.000000000 +0100
3ef2ca
***************
3ef2ca
*** 3830,3836 ****
3ef2ca
  
3ef2ca
      static BOOL
3ef2ca
  vim_create_process(
3ef2ca
!     const char		*cmd,
3ef2ca
      DWORD		flags,
3ef2ca
      BOOL		inherit_handles,
3ef2ca
      STARTUPINFO		*si,
3ef2ca
--- 3830,3836 ----
3ef2ca
  
3ef2ca
      static BOOL
3ef2ca
  vim_create_process(
3ef2ca
!     char		*cmd,
3ef2ca
      DWORD		flags,
3ef2ca
      BOOL		inherit_handles,
3ef2ca
      STARTUPINFO		*si,
3ef2ca
***************
3ef2ca
*** 3853,3859 ****
3ef2ca
  		flags,			/* Creation flags */
3ef2ca
  		NULL,			/* Environment */
3ef2ca
  		NULL,			/* Current directory */
3ef2ca
! 		si,			/* Startup information */
3ef2ca
  		pi);			/* Process information */
3ef2ca
  	    vim_free(wcmd);
3ef2ca
  	    return ret;
3ef2ca
--- 3853,3859 ----
3ef2ca
  		flags,			/* Creation flags */
3ef2ca
  		NULL,			/* Environment */
3ef2ca
  		NULL,			/* Current directory */
3ef2ca
! 		(LPSTARTUPINFOW)si,	/* Startup information */
3ef2ca
  		pi);			/* Process information */
3ef2ca
  	    vim_free(wcmd);
3ef2ca
  	    return ret;
3ef2ca
*** ../vim-7.4.125/src/version.c	2013-12-11 18:36:28.000000000 +0100
3ef2ca
--- src/version.c	2013-12-12 20:21:27.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     126,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
Microsoft is to software what McDonalds is to gourmet cooking
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///