Nikolay Sivov : shell32: Use interface pointer instead of implementation one.
Module: wine Branch: master Commit: 91947b35ad503e2fbf2f4e886ddcc220d927e43b URL: http://source.winehq.org/git/wine.git/?a=commit;h=91947b35ad503e2fbf2f4e886d... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Thu Aug 25 23:30:16 2016 +0300 shell32: Use interface pointer instead of implementation one. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 0b5638b..80e5aad 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);
participants (1)
-
Alexandre Julliard