summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/ui.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-14 17:35:00 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-14 17:35:00 +0000
commitd5f98458e06b9aee5522dc9475b5676e6fd14317 (patch)
tree5c9411bbda26b3d17f23b904e00463f0c27cf963 /plugins/Db3x_mmap/src/ui.cpp
parent83a7134937a15c228b9c938821894cf79f04ddee (diff)
Db3x_mmap: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11418 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/ui.cpp')
-rw-r--r--plugins/Db3x_mmap/src/ui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Db3x_mmap/src/ui.cpp b/plugins/Db3x_mmap/src/ui.cpp
index a591c35268..768b297194 100644
--- a/plugins/Db3x_mmap/src/ui.cpp
+++ b/plugins/Db3x_mmap/src/ui.cpp
@@ -34,13 +34,13 @@ struct DlgChangePassParam
static IconItem iconList[] =
{
- { LPGEN("Logo"), "logo", IDI_LOGO },
+ { LPGEN("Logo"), "logo", IDI_LOGO },
{ LPGEN("Password"), "password", IDI_ICONPASS }
};
static HGENMENU hSetPwdMenu;
-static int oldLangID;
+static UINT oldLangID;
void LanguageChanged(HWND hwndDlg)
{
UINT LangID = (UINT)GetKeyboardLayout(0);
@@ -186,7 +186,7 @@ static INT_PTR CALLBACK sttChangePassword(HWND hwndDlg, UINT uMsg, WPARAM wParam
case IDREMOVE:
if (!CheckOldPassword(hwndDlg, param->db)) {
-LBL_Error:
+ LBL_Error:
SendDlgItemMessage(hwndDlg, IDC_HEADERBAR, WM_NCPAINT, 0, 0);
SetDlgItemTextA(hwndDlg, IDC_USERPASS1, "");
SetDlgItemTextA(hwndDlg, IDC_USERPASS2, "");
@@ -270,7 +270,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
case WM_NOTIFY:
if (((LPNMHDR)lParam)->code == PSN_APPLY) {
- if (IsDlgButtonChecked(hwndDlg, IDC_TOTAL) != (BOOL)db->isEncrypted()) {
+ if (IsDlgButtonChecked(hwndDlg, IDC_TOTAL) != (UINT)db->isEncrypted()) {
db->ToggleEncryption();
CheckRadioButton(hwndDlg, IDC_STANDARD, IDC_TOTAL, IDC_STANDARD + db->isEncrypted());
}