summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.206
blob: 8a91f0ae209b843f6b79c72a02f9eaa638a83f1d (plain)
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
To: vim_dev@googlegroups.com
Subject: Patch 7.3.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.3.206
Problem:    64bit MS-Windows compiler warning.
Solution:   Use HandleToLong() instead of type cast. (Mike Williams)
Files:	    src/gui_w32.c


*** ../mercurial/vim73/src/gui_w32.c	2011-01-17 20:08:04.000000000 +0100
--- src/gui_w32.c	2011-05-25 21:14:10.000000000 +0200
***************
*** 1575,1581 ****
  
  #ifdef FEAT_EVAL
      /* set the v:windowid variable */
!     set_vim_var_nr(VV_WINDOWID, (long)s_hwnd);
  #endif
  
  theend:
--- 1575,1581 ----
  
  #ifdef FEAT_EVAL
      /* set the v:windowid variable */
!     set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd));
  #endif
  
  theend:
*** ../vim-7.3.205/src/version.c	2011-05-25 17:56:23.000000000 +0200
--- src/version.c	2011-05-25 21:16:17.000000000 +0200
***************
*** 711,712 ****
--- 711,714 ----
  {   /* Add new patch number below this line */
+ /**/
+     206,
  /**/

-- 
FIXME and XXX are two common keywords used to mark broken or incomplete code
not only since XXX as a sex reference would grab everybody's attention but
simply due to the fact that Vim would highlight these words.
					-- Hendrik Scholz

 /// 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    ///