diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-09-11 01:33:53 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-09-11 01:33:53 +0300 |
commit | df91299c0082a489e3a45f06b1cb52f2162b883d (patch) | |
tree | 45ca826f58126f43c7563b4a4e5880d2b67818c7 /messages.cpp | |
parent | 5631c9efc283f72fdaf4eb3ed6212b0d3dee8d7f (diff) |
ported changes from miranda_ng branch
Diffstat (limited to 'messages.cpp')
-rwxr-xr-x | messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |