From df91299c0082a489e3a45f06b1cb52f2162b883d Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 11 Sep 2012 01:33:53 +0300 Subject: ported changes from miranda_ng branch --- messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'messages.cpp') diff --git a/messages.cpp b/messages.cpp index 5dc673c..07aad1f 100755 --- a/messages.cpp +++ b/messages.cpp @@ -972,7 +972,7 @@ int HookSendMsg(WPARAM w, LPARAM l) } -static BOOL CALLBACK DlgProcKeyPassword(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +static INT_PTR CALLBACK DlgProcKeyPassword(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { char *inkeyid = NULL; switch (msg) @@ -1067,5 +1067,5 @@ static BOOL CALLBACK DlgProcKeyPassword(HWND hwndDlg, UINT msg, WPARAM wParam, L void ShowLoadKeyPasswordWindow() { extern HINSTANCE hInst; - DialogBox(hInst, MAKEINTRESOURCE(IDD_KEY_PASSWD), NULL, (DLGPROC)DlgProcKeyPassword); + DialogBox(hInst, MAKEINTRESOURCE(IDD_KEY_PASSWD), NULL, DlgProcKeyPassword); } -- cgit v1.2.3