summaryrefslogtreecommitdiff
path: root/plugins/ContextHelp/src/utils.cpp
diff options
context:
space:
mode:
authorGoraf <goraf@miranda-ng.org>2016-02-07 18:01:06 +0000
committerGoraf <goraf@miranda-ng.org>2016-02-07 18:01:06 +0000
commit1a5efa05af37e5e5eda82d0bf12e1354c9e9deec (patch)
tree4a2424c8576d0298c096d6a418d0e8a3b487cb4a /plugins/ContextHelp/src/utils.cpp
parent5d631fbe39475e5ef90a7639c8309690c6787c71 (diff)
ContextHelp: x64 fixes (patch by Wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContextHelp/src/utils.cpp')
-rw-r--r--plugins/ContextHelp/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ContextHelp/src/utils.cpp b/plugins/ContextHelp/src/utils.cpp
index 51d643c774..84e78fcc7d 100644
--- a/plugins/ContextHelp/src/utils.cpp
+++ b/plugins/ContextHelp/src/utils.cpp
@@ -341,7 +341,7 @@ struct CreateDialogIdBinaryData {
HWND hwndParent;
};
-static INT_PTR CALLBACK CreateDlgIdBinEnumProc(HWND hwnd, LPARAM lParam)
+static BOOL CALLBACK CreateDlgIdBinEnumProc(HWND hwnd, LPARAM lParam)
{
struct CreateDialogIdBinaryData *cdib = (struct CreateDialogIdBinaryData*)lParam;
int type;
@@ -376,7 +376,7 @@ char *CreateDialogIdString(HWND hwndDlg)
if (hwndDlg == NULL)
return NULL;
cdib.hwndParent = hwndDlg;
- EnumChildWindows(hwndDlg, (WNDENUMPROC)CreateDlgIdBinEnumProc, (LPARAM)&cdib);
+ EnumChildWindows(hwndDlg, CreateDlgIdBinEnumProc, (LPARAM)&cdib);
if (cdib.buf == NULL)
return NULL;
szRet = Base64Encode(cdib.buf, cdib.count);