Re: shell32: Fix cast in RecycleBinMenu_InvokeCommand

2011-07-14 Thread Jay Yang
On 07/14/2011 09:50 AM, Alexandre Julliard wrote: > Jay Yang writes: > >> @@ -240,7 +240,7 @@ static HRESULT WINAPI >> RecycleBinMenu_InvokeCommand(IContextMenu2 *iface, >> LPCSTR verb = pici->lpVerb; >> if(!HIWORD(verb)) >> { >> -switch((UINT)verb) >> +switch((UINT

Re: shell32: Fix cast in RecycleBinMenu_InvokeCommand

2011-07-14 Thread Alexandre Julliard
Jay Yang writes: > @@ -240,7 +240,7 @@ static HRESULT WINAPI > RecycleBinMenu_InvokeCommand(IContextMenu2 *iface, > LPCSTR verb = pici->lpVerb; > if(!HIWORD(verb)) > { > -switch((UINT)verb) > +switch((UINT_PTR)verb) Actually the HIWORD() is more problematic. --