summaryrefslogtreecommitdiff
path: root/extensions/source/activex/main/SOComWindowPeer.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/activex/main/SOComWindowPeer.h')
-rw-r--r--extensions/source/activex/main/SOComWindowPeer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/activex/main/SOComWindowPeer.h b/extensions/source/activex/main/SOComWindowPeer.h
index 27c6f4037..55be8cafc 100644
--- a/extensions/source/activex/main/SOComWindowPeer.h
+++ b/extensions/source/activex/main/SOComWindowPeer.h
@@ -55,7 +55,7 @@ DECLARE_REGISTRY_RESOURCEID(IDR_SOCOMWINDOWPEER)
/* [in] */ short /*s*/,
/* [retval][out] */ long __RPC_FAR *ret)
{
- *ret = (long) m_hwnd;
+ *ret = HandleToLong( m_hwnd );
return S_OK;
}