summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdb/src/ui.cpp')
-rw-r--r--plugins/Dbx_mdb/src/ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdb/src/ui.cpp b/plugins/Dbx_mdb/src/ui.cpp
index 8c7ec8c52c..003b068a48 100644
--- a/plugins/Dbx_mdb/src/ui.cpp
+++ b/plugins/Dbx_mdb/src/ui.cpp
@@ -28,7 +28,7 @@ static HGENMENU hSetPwdMenu;
static UINT oldLangID;
void LanguageChanged(HWND hwndDlg)
{
- UINT LangID = (UINT)GetKeyboardLayout(0);
+ UINT_PTR LangID = (UINT_PTR)GetKeyboardLayout(0);
char Lang[3] = { 0 };
if (LangID != oldLangID) {
oldLangID = LangID;
@@ -80,7 +80,7 @@ static INT_PTR CALLBACK sttChangePassword(HWND hwndDlg, UINT uMsg, WPARAM wParam
if ((HWND)lParam == GetDlgItem(hwndDlg, IDC_LANG)) {
SetTextColor((HDC)wParam, GetSysColor(COLOR_HIGHLIGHTTEXT));
SetBkMode((HDC)wParam, TRANSPARENT);
- return (BOOL)GetSysColorBrush(COLOR_HIGHLIGHT);
+ return (INT_PTR)GetSysColorBrush(COLOR_HIGHLIGHT);
}
return FALSE;