From 1a5efa05af37e5e5eda82d0bf12e1354c9e9deec Mon Sep 17 00:00:00 2001 From: Goraf Date: Sun, 7 Feb 2016 18:01:06 +0000 Subject: ContextHelp: x64 fixes (patch by Wishmaster) git-svn-id: http://svn.miranda-ng.org/main/trunk@16241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContextHelp/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ContextHelp/src/utils.cpp') 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); -- cgit v1.2.3