Module: wine Branch: master Commit: d9c99ac44c6e412e0a1d2c4410e9945649b1efc2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=d9c99ac44c6e412e0a1d2c441...
Author: Michael Stefaniuc mstefani@winehq.org Date: Fri Mar 8 21:16:54 2019 +0100
winefile: Remove useless cast to self.
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/winefile/winefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index 23be450..2f4eb2a 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -739,7 +739,7 @@ static HICON extract_icon(IShellFolder* folder, LPCITEMIDLIST pidl) { IExtractIconW* pExtract;
- if (SUCCEEDED(IShellFolder_GetUIObjectOf(folder, 0, 1, (LPCITEMIDLIST*)&pidl, &IID_IExtractIconW, 0, (LPVOID*)&pExtract))) { + if (SUCCEEDED(IShellFolder_GetUIObjectOf(folder, 0, 1, &pidl, &IID_IExtractIconW, 0, (void**)&pExtract))) { WCHAR path[_MAX_PATH]; unsigned flags; HICON hicon;