From 91947b35ad503e2fbf2f4e886ddcc220d927e43b Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 25 Aug 2016 23:30:16 +0300 Subject: [PATCH] shell32: Use interface pointer instead of implementation one. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/shell32/recyclebin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c index 0b5638ba3b2..80e5aad4300 100644 --- a/dlls/shell32/recyclebin.c +++ b/dlls/shell32/recyclebin.c @@ -486,7 +486,7 @@ static HRESULT WINAPI RecycleBin_CreateViewObject(IShellFolder2 *iface, HWND hwn ZeroMemory(&sfv, sizeof(sfv)); sfv.cbSize = sizeof(sfv); - sfv.pshf = (IShellFolder *)This; + sfv.pshf = (IShellFolder *)&This->IShellFolder2_iface; TRACE("Calling SHCreateShellFolderViewEx\n"); ret = SHCreateShellFolderViewEx(&sfv, &tmp); -- 2.11.4.GIT