diff options
author | George Hazan <george.hazan@gmail.com> | 2016-03-02 08:37:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-03-02 08:37:52 +0000 |
commit | 86afe40c9f5e7c97de33e6bda58038ca764e74e4 (patch) | |
tree | ab817e2dc074eccd85a514652153f719840d07c6 /plugins/Dbx_mdb/src/ui.h | |
parent | 557077718ec034e47e11556b99ce86424e6550a2 (diff) |
- 64-bit issues fixed;
- warning fixes;
git-svn-id: http://svn.miranda-ng.org/main/trunk@16386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/ui.h')
-rw-r--r-- | plugins/Dbx_mdb/src/ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdb/src/ui.h b/plugins/Dbx_mdb/src/ui.h index 4ee297e81f..b20a43d623 100644 --- a/plugins/Dbx_mdb/src/ui.h +++ b/plugins/Dbx_mdb/src/ui.h @@ -119,7 +119,7 @@ class CEnterPasswordDialog : public CDlgBase {
if (msg == WM_TIMER)
{
- UINT LangID = (UINT)GetKeyboardLayout(0);
+ UINT_PTR LangID = (UINT_PTR)GetKeyboardLayout(0);
char Lang[3] = { 0 };
GetLocaleInfoA(MAKELCID((LangID & 0xffffffff), SORT_DEFAULT), LOCALE_SABBREVLANGNAME, Lang, 2);
Lang[0] = toupper(Lang[0]);
@@ -132,7 +132,7 @@ class CEnterPasswordDialog : public CDlgBase if ((HWND)lParam == m_language.GetHwnd()) {
SetTextColor((HDC)wParam, GetSysColor(COLOR_HIGHLIGHTTEXT));
SetBkMode((HDC)wParam, TRANSPARENT);
- return (BOOL)GetSysColorBrush(COLOR_HIGHLIGHT);
+ return (INT_PTR)GetSysColorBrush(COLOR_HIGHLIGHT);
}
}
return CDlgBase::DlgProc(msg, wParam, lParam);
|