shell32: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-09-28 23:16:09 +01:00 committed by Alexandre Julliard
parent 27a06a5d75
commit 29ce6b37b5
1 changed files with 2 additions and 2 deletions

View File

@ -2455,7 +2455,7 @@ ShellLink_QueryContextMenu( IContextMenu* iface, HMENU hmenu, UINT indexMenu,
UINT idCmdFirst, UINT idCmdLast, UINT uFlags ) UINT idCmdFirst, UINT idCmdLast, UINT uFlags )
{ {
IShellLinkImpl *This = impl_from_IContextMenu(iface); IShellLinkImpl *This = impl_from_IContextMenu(iface);
static const WCHAR szOpen[] = { 'O','p','e','n',0 }; static WCHAR szOpen[] = { 'O','p','e','n',0 };
MENUITEMINFOW mii; MENUITEMINFOW mii;
int id = 1; int id = 1;
@ -2468,7 +2468,7 @@ ShellLink_QueryContextMenu( IContextMenu* iface, HMENU hmenu, UINT indexMenu,
memset( &mii, 0, sizeof mii ); memset( &mii, 0, sizeof mii );
mii.cbSize = sizeof mii; mii.cbSize = sizeof mii;
mii.fMask = MIIM_TYPE | MIIM_ID | MIIM_STATE; mii.fMask = MIIM_TYPE | MIIM_ID | MIIM_STATE;
mii.dwTypeData = (LPWSTR)szOpen; mii.dwTypeData = szOpen;
mii.cch = strlenW( mii.dwTypeData ); mii.cch = strlenW( mii.dwTypeData );
mii.wID = idCmdFirst + id++; mii.wID = idCmdFirst + id++;
mii.fState = MFS_DEFAULT | MFS_ENABLED; mii.fState = MFS_DEFAULT | MFS_ENABLED;