[PATCH] shell32: Remove superfluous cast to self
Michael Stefaniuc
mstefani at winehq.org
Mon Sep 28 14:28:06 CDT 2020
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
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;
}
--
2.26.2
More information about the wine-devel
mailing list