2 Subject: Patch 6.2.024 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32: Compiler warnings for typecasts.
12 Solution: Use DWORD instead of WORD. (Walter Briscoe)
16 *** ../vim-6.2.023/src/gui_w32.c Thu Jul 24 21:01:35 2003
17 --- src/gui_w32.c Sun Jun 22 17:13:50 2003
20 if (menu->children == NULL)
21 menuID = (WORD)(menu->id);
23 ! menuID = (WORD)((WORD)(menu->submenu_id) | (WORD)0x8000);
24 menuHandle = GetDlgItem(menu->parent->tearoff_handle, menuID);
26 EnableWindow(menuHandle, !grey);
28 if (menu->children == NULL)
29 menuID = (WORD)(menu->id);
31 ! menuID = (WORD)((DWORD)(menu->submenu_id) | (DWORD)0x8000);
32 menuHandle = GetDlgItem(menu->parent->tearoff_handle, menuID);
34 EnableWindow(menuHandle, !grey);
39 len += (int)STRLEN(TEAROFF_SUBMENU_LABEL);
40 ! menuID = (WORD)((WORD)(menu->submenu_id) | (WORD)0x8000);
43 /* Allocate menu label and fill it in */
47 len += (int)STRLEN(TEAROFF_SUBMENU_LABEL);
48 ! menuID = (WORD)((DWORD)(menu->submenu_id) | (DWORD)0x8000);
51 /* Allocate menu label and fill it in */
52 *** ../vim-6.2.023/src/version.c Thu Jul 24 21:05:22 2003
53 --- src/version.c Thu Jul 24 21:07:09 2003
57 { /* Add new patch number below this line */
63 To keep milk from turning sour: Keep it in the cow.
65 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
66 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
67 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
68 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///