shell32: Fix an incorrect pointer/integer cast on 64-bit.
Octavian Voicu
octavian.voicu at gmail.com
Thu Sep 1 01:39:22 CDT 2011
---
dlls/shell32/recyclebin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c
index 39b662a..5ff6f3c 100644
--- a/dlls/shell32/recyclebin.c
+++ b/dlls/shell32/recyclebin.c
@@ -240,7 +240,7 @@ static HRESULT WINAPI RecycleBinMenu_InvokeCommand(IContextMenu2 *iface,
LPCSTR verb = pici->lpVerb;
if(!HIWORD(verb))
{
- switch((UINT)verb)
+ switch(PtrToUlong(verb))
{
case IDM_RECYCLEBIN_ERASE:
DoErase(This);
--
1.7.4.1
More information about the wine-patches
mailing list