shell32: Fix cast in RecycleBinMenu_InvokeCommand
jkelleyy at gmail.com
Thu Jul 14 12:18:04 CDT 2011
On 07/14/2011 09:50 AM, Alexandre Julliard wrote:
> Jay Yang <jkelleyy at gmail.com> writes:
>> @@ -240,7 +240,7 @@ static HRESULT WINAPI RecycleBinMenu_InvokeCommand(IContextMenu2 *iface,
>> LPCSTR verb = pici->lpVerb;
>> - switch((UINT)verb)
>> + switch((UINT_PTR)verb)
> Actually the HIWORD() is more problematic.
What's the best way to do this then. Since the msdn documentation on this assumes that pointers are
32 bit, which is obviously wrong. Should I do something like "if((verb&0xFFFF)==verb)"?
More information about the wine-devel