From 1f313b7f1f0345259dbfa5667b34d89042ea7928 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 28 Sep 2020 21:28:06 +0200 Subject: [PATCH] shell32: Remove superfluous cast to self. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/shell32/shelldispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shelldispatch.c b/dlls/shell32/shelldispatch.c index de581dec427..b0eefa59999 100644 --- a/dlls/shell32/shelldispatch.c +++ b/dlls/shell32/shelldispatch.c @@ -934,7 +934,7 @@ static HRESULT ShellLinkObject_Constructor(FolderItemImpl *item, IShellLinkDual2 return hr; } - *link = (IShellLinkDual2 *)&This->IShellLinkDual2_iface; + *link = &This->IShellLinkDual2_iface; return S_OK; }