diff --git a/dll/win32/browseui/shellfind/CSearchBar.cpp b/dll/win32/browseui/shellfind/CSearchBar.cpp index 3c497030cb9..295fec268f3 100644 --- a/dll/win32/browseui/shellfind/CSearchBar.cpp +++ b/dll/win32/browseui/shellfind/CSearchBar.cpp @@ -95,7 +95,7 @@ HRESULT CSearchBar::ExecuteCommand(CComPtr& menu, UINT nCmd) // *** ATL event handlers *** LRESULT CSearchBar::OnSetFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) { - IUnknown_OnFocusChangeIS(m_pSite, reinterpret_cast(this), TRUE); + IUnknown_OnFocusChangeIS(m_pSite, static_cast(this), TRUE); bHandled = FALSE; return TRUE; }