summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-07 15:23:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-07 15:23:57 +0000
commit6475b110c06ebd29fda4e4d8104e9cb121c99eeb (patch)
tree75bd1886cdd0278c205eacb78e89e28ddceb5987 /plugins/AssocMgr
parent094861f16a9627c04dc445294345af0bd5c59e6f (diff)
various 64-bit compilation issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AssocMgr')
-rw-r--r--plugins/AssocMgr/dde.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AssocMgr/dde.cpp b/plugins/AssocMgr/dde.cpp
index 5b95499c5d..dc03e7e0cc 100644
--- a/plugins/AssocMgr/dde.cpp
+++ b/plugins/AssocMgr/dde.cpp
@@ -108,7 +108,7 @@ static LRESULT CALLBACK DdeMessageWindow(HWND hwnd,UINT msg,WPARAM wParam,LPARAM
TCHAR *pszCommand;
DDEACK ack;
ZeroMemory(&ack,sizeof(ack));
- if(UnpackDDElParam(msg,lParam,NULL,(PUINT)&hCommand)) {
+ if(UnpackDDElParam(msg,lParam,NULL,(PUINT_PTR)&hCommand)) {
#if defined(_UNICODE)
/* ANSI execute command can't happen for shell */
if(IsWindowUnicode((HWND)wParam)) {
@@ -151,7 +151,7 @@ static LRESULT CALLBACK DdeMessageWindow(HWND hwnd,UINT msg,WPARAM wParam,LPARAM
{ ATOM hSzItem;
DDEACK ack;
ZeroMemory(&ack,sizeof(ack));
- if(UnpackDDElParam(msg,lParam,NULL,(PUINT)&hSzItem)) {
+ if(UnpackDDElParam(msg,lParam,NULL,(PUINT_PTR)&hSzItem)) {
lParam=ReuseDDElParam(lParam,msg,WM_DDE_ACK,*(PUINT)&ack,(UINT)hSzItem);
if (!PostMessage((HWND)wParam,WM_DDE_ACK,(WPARAM)hwnd,lParam)) {
if(hSzItem) GlobalDeleteAtom(hSzItem);