Michael Stefaniuc : shell32: Remove superfluous cast to self.
Alexandre Julliard
julliard at winehq.org
Mon Sep 28 14:49:27 CDT 2020
Module: wine
Branch: master
Commit: 1f313b7f1f0345259dbfa5667b34d89042ea7928
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1f313b7f1f0345259dbfa5667b34d89042ea7928
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon Sep 28 21:28:06 2020 +0200
shell32: Remove superfluous cast to self.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard 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 de581dec42..b0eefa5999 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;
}
More information about the wine-cvs
mailing list