summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.206
blob: d251135aa8a6110dbf06aa3eec849c16e4b86da8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
To: vim_dev@googlegroups.com
Subject: Patch 7.4.206
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.206
Problem:    Compiler warnings on 64 bit Windows.
Solution:   Add type casts. (Mike Williams)
Files:	    src/gui_w48.c, src/os_mswin.c


*** ../vim-7.4.205/src/gui_w48.c	2014-03-12 19:24:32.504933166 +0100
--- src/gui_w48.c	2014-03-19 12:32:15.129821412 +0100
***************
*** 3078,3084 ****
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
      {
  	int	len;
! 	acp_to_enc(lf.lfFaceName, strlen(lf.lfFaceName),
  						(char_u **)&font_name, &len);
      }
  #endif
--- 3078,3084 ----
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
      {
  	int	len;
! 	acp_to_enc(lf.lfFaceName, (int)strlen(lf.lfFaceName),
  						(char_u **)&font_name, &len);
      }
  #endif
*** ../vim-7.4.205/src/os_mswin.c	2014-03-12 19:24:32.504933166 +0100
--- src/os_mswin.c	2014-03-19 12:32:15.129821412 +0100
***************
*** 2884,2890 ****
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
      {
  	int	len;
! 	enc_to_acp(name, strlen(name), &acpname, &len);
  	name = acpname;
      }
  #endif
--- 2884,2890 ----
      if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
      {
  	int	len;
! 	enc_to_acp(name, (int)strlen(name), &acpname, &len);
  	name = acpname;
      }
  #endif
*** ../vim-7.4.205/src/version.c	2014-03-12 21:28:09.485046816 +0100
--- src/version.c	2014-03-19 12:33:16.253822349 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     206,
  /**/

-- 
We apologise again for the fault in the subtitles.  Those responsible for
sacking the people who have just been sacked have been sacked.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///