073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.206
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.206
073263
Problem:    Compiler warnings on 64 bit Windows.
073263
Solution:   Add type casts. (Mike Williams)
073263
Files:	    src/gui_w48.c, src/os_mswin.c
073263
073263
073263
*** ../vim-7.4.205/src/gui_w48.c	2014-03-12 19:24:32.504933166 +0100
073263
--- src/gui_w48.c	2014-03-19 12:32:15.129821412 +0100
073263
***************
073263
*** 3078,3084 ****
073263
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
073263
      {
073263
  	int	len;
073263
! 	acp_to_enc(lf.lfFaceName, strlen(lf.lfFaceName),
073263
  						(char_u **)&font_name, &len;;
073263
      }
073263
  #endif
073263
--- 3078,3084 ----
073263
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
073263
      {
073263
  	int	len;
073263
! 	acp_to_enc(lf.lfFaceName, (int)strlen(lf.lfFaceName),
073263
  						(char_u **)&font_name, &len;;
073263
      }
073263
  #endif
073263
*** ../vim-7.4.205/src/os_mswin.c	2014-03-12 19:24:32.504933166 +0100
073263
--- src/os_mswin.c	2014-03-19 12:32:15.129821412 +0100
073263
***************
073263
*** 2884,2890 ****
073263
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
073263
      {
073263
  	int	len;
073263
! 	enc_to_acp(name, strlen(name), &acpname, &len;;
073263
  	name = acpname;
073263
      }
073263
  #endif
073263
--- 2884,2890 ----
073263
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
073263
      {
073263
  	int	len;
073263
! 	enc_to_acp(name, (int)strlen(name), &acpname, &len;;
073263
  	name = acpname;
073263
      }
073263
  #endif
073263
*** ../vim-7.4.205/src/version.c	2014-03-12 21:28:09.485046816 +0100
073263
--- src/version.c	2014-03-19 12:33:16.253822349 +0100
073263
***************
073263
*** 740,741 ****
073263
--- 740,743 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     206,
073263
  /**/
073263
073263
-- 
073263
We apologise again for the fault in the subtitles.  Those responsible for
073263
sacking the people who have just been sacked have been sacked.
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    ///