diff --git a/base/shell/rshell/CMenuFocusManager.cpp b/base/shell/rshell/CMenuFocusManager.cpp index 46ba8baa4be..2a88688fa18 100644 --- a/base/shell/rshell/CMenuFocusManager.cpp +++ b/base/shell/rshell/CMenuFocusManager.cpp @@ -192,7 +192,7 @@ LRESULT CMenuFocusManager::GetMsgHook(INT nCode, WPARAM wParam, LPARAM lParam) if (nCode < 0) return CallNextHookEx(m_hHook, nCode, wParam, lParam); - DWORD pos = GetMessagePos(); + LPARAM pos = (LPARAM) GetMessagePos(); if (nCode == HC_ACTION) {