Blame SOURCES/7.4.206

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.206
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.206
22c937
Problem:    Compiler warnings on 64 bit Windows.
22c937
Solution:   Add type casts. (Mike Williams)
22c937
Files:	    src/gui_w48.c, src/os_mswin.c
22c937
22c937
22c937
*** ../vim-7.4.205/src/gui_w48.c	2014-03-12 19:24:32.504933166 +0100
22c937
--- src/gui_w48.c	2014-03-19 12:32:15.129821412 +0100
22c937
***************
22c937
*** 3078,3084 ****
22c937
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
22c937
      {
22c937
  	int	len;
22c937
! 	acp_to_enc(lf.lfFaceName, strlen(lf.lfFaceName),
22c937
  						(char_u **)&font_name, &len;;
22c937
      }
22c937
  #endif
22c937
--- 3078,3084 ----
22c937
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
22c937
      {
22c937
  	int	len;
22c937
! 	acp_to_enc(lf.lfFaceName, (int)strlen(lf.lfFaceName),
22c937
  						(char_u **)&font_name, &len;;
22c937
      }
22c937
  #endif
22c937
*** ../vim-7.4.205/src/os_mswin.c	2014-03-12 19:24:32.504933166 +0100
22c937
--- src/os_mswin.c	2014-03-19 12:32:15.129821412 +0100
22c937
***************
22c937
*** 2884,2890 ****
22c937
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
22c937
      {
22c937
  	int	len;
22c937
! 	enc_to_acp(name, strlen(name), &acpname, &len;;
22c937
  	name = acpname;
22c937
      }
22c937
  #endif
22c937
--- 2884,2890 ----
22c937
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
22c937
      {
22c937
  	int	len;
22c937
! 	enc_to_acp(name, (int)strlen(name), &acpname, &len;;
22c937
  	name = acpname;
22c937
      }
22c937
  #endif
22c937
*** ../vim-7.4.205/src/version.c	2014-03-12 21:28:09.485046816 +0100
22c937
--- src/version.c	2014-03-19 12:33:16.253822349 +0100
22c937
***************
22c937
*** 740,741 ****
22c937
--- 740,743 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     206,
22c937
  /**/
22c937
22c937
-- 
22c937
We apologise again for the fault in the subtitles.  Those responsible for
22c937
sacking the people who have just been sacked have been sacked.
22c937
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///