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