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