diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-09-07 19:13:16 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-09-07 19:13:16 +0300 |
commit | 413f5a1f2d643b4f76a8f01be314119f31ca0ca7 (patch) | |
tree | 78cecf7cefe6f51b66c93c7abc428c2770dad837 /src/messages.cpp | |
parent | 418526a0e2c4a00afae9f9d2678be7c837c247d0 (diff) |
merged changes from miranda_ng repo
Diffstat (limited to 'src/messages.cpp')
-rwxr-xr-x | src/messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages.cpp b/src/messages.cpp index 5dc673c..07aad1f 100755 --- a/src/messages.cpp +++ b/src/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); } |