Fix error using UnpackDDElParam() on x64 arch (fix #1340)

This commit is contained in:
David Capello 2016-12-06 16:06:00 -03:00
parent c1e428544e
commit ec405e28e7

View File

@ -120,7 +120,7 @@ bool handle_dde_messages(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam, LRES
case WM_DDE_INITIATE: {
HWND clienthwnd = (HWND)wparam;
UINT appAtom = 0, topicAtom = 0;
UINT_PTR appAtom = 0, topicAtom = 0;
if (!UnpackDDElParam(msg, lparam,
&appAtom,
&topicAtom))