summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/src/security.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-08-01 21:32:07 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-08-01 21:32:07 +0000
commit59c3505527e92eb41ed9755e4958fabe52b5c13c (patch)
treea96b0da57af7bd08ef411e70daccf5ca107f411e /plugins/Dbx_mmap_SA/src/security.cpp
parent30fcf9ef16d99490b936791ca58997920e0ea98f (diff)
x64 fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/src/security.cpp')
-rw-r--r--plugins/Dbx_mmap_SA/src/security.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Dbx_mmap_SA/src/security.cpp b/plugins/Dbx_mmap_SA/src/security.cpp
index 4ecf5f745b..8731e86f81 100644
--- a/plugins/Dbx_mmap_SA/src/security.cpp
+++ b/plugins/Dbx_mmap_SA/src/security.cpp
@@ -137,7 +137,7 @@ int CDdxMmapSA::CheckPassword(WORD checkWord, TCHAR *szDBName)
}
while(1) {
- int res = DialogBoxParam(g_hInst, MAKEINTRESOURCE(IDD_LOGIN), NULL, (DLGPROC)DlgStdInProc, (LPARAM)szDBName);
+ int res = DialogBoxParam(g_hInst, MAKEINTRESOURCE(IDD_LOGIN), NULL, DlgStdInProc, (LPARAM)szDBName);
if (res == IDCANCEL) {
wrongPass = 0;
bCheckingPass = 0;
@@ -272,7 +272,7 @@ void CDdxMmapSA::EncryptDB()
bEncProcess = 1;
- action = DialogBoxParam(g_hInst, MAKEINTRESOURCE(IDD_NEWPASS), NULL, (DLGPROC)DlgStdNewPass, (LPARAM)NULL);
+ action = DialogBoxParam(g_hInst, MAKEINTRESOURCE(IDD_NEWPASS), NULL, DlgStdNewPass, (LPARAM)NULL);
if (action != IDOK || !strlen(encryptKey)) {
bEncProcess = 0;
db_set_b(NULL, "SecureMMAP", "CryptoModule", 0);
@@ -350,7 +350,7 @@ void CDdxMmapSA::ChangePwd()
{
char newpass[255] = {0};
- int action = DialogBoxParam(g_hInst, MAKEINTRESOURCE(IDD_CHANGEPASS), NULL, (DLGPROC)DlgChangePass, (LPARAM)newpass);
+ int action = DialogBoxParam(g_hInst, MAKEINTRESOURCE(IDD_CHANGEPASS), NULL, DlgChangePass, (LPARAM)newpass);
if (action == IDCANCEL || (action == IDOK && !strlen(newpass)))
return;