summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx')
-rw-r--r--shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
index ad5cbe03b0e1..657664ff5866 100644
--- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
+++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
@@ -157,7 +157,7 @@ HRESULT STDMETHODCALLTYPE StreamOnZipBuffer::QueryInterface(REFIID riid, void __
if ((IID_IUnknown == riid) || (IID_IStream == riid))
{
- pUnk = static_cast<IStream*>(this);
+ pUnk = this;
pUnk->AddRef();
*ppvObject = pUnk;
return S_OK;