Karsten Hopp 7b3fd1
To: vim_dev@googlegroups.com
Karsten Hopp 7b3fd1
Subject: Patch 7.4.481
Karsten Hopp 7b3fd1
Fcc: outbox
Karsten Hopp 7b3fd1
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 7b3fd1
Mime-Version: 1.0
Karsten Hopp 7b3fd1
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 7b3fd1
Content-Transfer-Encoding: 8bit
Karsten Hopp 7b3fd1
------------
Karsten Hopp 7b3fd1
Karsten Hopp 7b3fd1
Patch 7.4.481 (after 7.4.471)
Karsten Hopp 7b3fd1
Problem:    Compiler warning on MS-Windows.
Karsten Hopp 7b3fd1
Solution:   Add type casts. (Ken Takata)
Karsten Hopp 7b3fd1
Files:	    src/os_mswin.c
Karsten Hopp 7b3fd1
Karsten Hopp 7b3fd1
Karsten Hopp 7b3fd1
*** ../vim-7.4.480/src/os_mswin.c	2014-10-15 22:50:06.946093724 +0200
Karsten Hopp 7b3fd1
--- src/os_mswin.c	2014-10-16 20:33:05.874264494 +0200
Karsten Hopp 7b3fd1
***************
Karsten Hopp 7b3fd1
*** 1644,1653 ****
Karsten Hopp 7b3fd1
  	    char_u  *to_free = NULL;
Karsten Hopp 7b3fd1
  	    int     maxlen;
Karsten Hopp 7b3fd1
  
Karsten Hopp 7b3fd1
! 	    acp_to_enc(printer_name, STRLEN(printer_name), &to_free, &maxlen);
Karsten Hopp 7b3fd1
  	    if (to_free != NULL)
Karsten Hopp 7b3fd1
  		printer_name = to_free;
Karsten Hopp 7b3fd1
! 	    acp_to_enc(port_name, STRLEN(port_name), &to_free, &maxlen);
Karsten Hopp 7b3fd1
  	    if (to_free != NULL)
Karsten Hopp 7b3fd1
  		port_name = to_free;
Karsten Hopp 7b3fd1
  	}
Karsten Hopp 7b3fd1
--- 1644,1654 ----
Karsten Hopp 7b3fd1
  	    char_u  *to_free = NULL;
Karsten Hopp 7b3fd1
  	    int     maxlen;
Karsten Hopp 7b3fd1
  
Karsten Hopp 7b3fd1
! 	    acp_to_enc(printer_name, (int)STRLEN(printer_name), &to_free,
Karsten Hopp 7b3fd1
! 								    &maxlen);
Karsten Hopp 7b3fd1
  	    if (to_free != NULL)
Karsten Hopp 7b3fd1
  		printer_name = to_free;
Karsten Hopp 7b3fd1
! 	    acp_to_enc(port_name, (int)STRLEN(port_name), &to_free, &maxlen);
Karsten Hopp 7b3fd1
  	    if (to_free != NULL)
Karsten Hopp 7b3fd1
  		port_name = to_free;
Karsten Hopp 7b3fd1
  	}
Karsten Hopp 7b3fd1
*** ../vim-7.4.480/src/version.c	2014-10-16 16:16:33.970230873 +0200
Karsten Hopp 7b3fd1
--- src/version.c	2014-10-16 20:34:30.882264680 +0200
Karsten Hopp 7b3fd1
***************
Karsten Hopp 7b3fd1
*** 743,744 ****
Karsten Hopp 7b3fd1
--- 743,746 ----
Karsten Hopp 7b3fd1
  {   /* Add new patch number below this line */
Karsten Hopp 7b3fd1
+ /**/
Karsten Hopp 7b3fd1
+     481,
Karsten Hopp 7b3fd1
  /**/
Karsten Hopp 7b3fd1
Karsten Hopp 7b3fd1
-- 
Karsten Hopp 7b3fd1
       Bravely bold Sir Robin, rode forth from Camelot,
Karsten Hopp 7b3fd1
       He was not afraid to die, Oh Brave Sir Robin,
Karsten Hopp 7b3fd1
       He was not at all afraid to be killed in nasty ways
Karsten Hopp 7b3fd1
       Brave, brave, brave, brave Sir Robin.
Karsten Hopp 7b3fd1
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 7b3fd1
Karsten Hopp 7b3fd1
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 7b3fd1
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 7b3fd1
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 7b3fd1
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///