summaryrefslogtreecommitdiff
path: root/plugins/Variables/help.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-07-06 19:21:47 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-07-06 19:21:47 +0000
commitfd2115f98aca6fa093498cf7a24216a12b05a885 (patch)
tree0ddd84bb6aa1919bfe3f7944f272b343ef032b1a /plugins/Variables/help.cpp
parent3c1e178085dca0f8e2d177f109f32002887691c3 (diff)
Minor x64 signature fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/help.cpp')
-rw-r--r--plugins/Variables/help.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Variables/help.cpp b/plugins/Variables/help.cpp
index 9c35806f11..8b852b7f6c 100644
--- a/plugins/Variables/help.cpp
+++ b/plugins/Variables/help.cpp
@@ -888,7 +888,7 @@ static int helpDialogResize(HWND hwndDlg, LPARAM lParam, UTILRESIZECONTROL *urc)
return RD_ANCHORX_WIDTH|RD_ANCHORY_HEIGHT;
}
-static BOOL CALLBACK helpDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM lParam)
+static INT_PTR CALLBACK helpDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM lParam)
{
HELPDLGDATA *dat = (HELPDLGDATA *)GetWindowLongPtr(hwndDlg, GWLP_USERDATA);
@@ -1277,9 +1277,9 @@ INT_PTR showHelpExService(WPARAM wParam, LPARAM lParam)
iFrameY = 3 * GetSystemMetrics(SM_CYSIZEFRAME);
if (wParam)
- DialogBoxParam((HINSTANCE)hInst, (LPCTSTR)MAKEINTRESOURCE(IDD_HELP_DIALOG), (HWND)wParam, (DLGPROC)helpDlgProc, (LPARAM)lParam);
+ DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_HELP_DIALOG), (HWND)wParam, helpDlgProc, (LPARAM)lParam);
else
- CreateDialogParam((HINSTANCE)hInst, (LPCTSTR)MAKEINTRESOURCE(IDD_HELP_DIALOG), (HWND)NULL, (DLGPROC)helpDlgProc, (LPARAM)lParam);
+ CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_HELP_DIALOG), NULL, helpDlgProc, (LPARAM)lParam);
return 0;
}