From cddcd7483a7c472598af098e759e5d309024f606 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 20:31:39 +0300 Subject: DWORD -> uint32_t --- plugins/Clist_blind/src/clcopts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_blind/src') diff --git a/plugins/Clist_blind/src/clcopts.cpp b/plugins/Clist_blind/src/clcopts.cpp index d40b428626..0bbcb9ce13 100644 --- a/plugins/Clist_blind/src/clcopts.cpp +++ b/plugins/Clist_blind/src/clcopts.cpp @@ -33,7 +33,7 @@ wchar_t* MyDBGetContactSettingTString(MCONTACT hContact, char *module, char *set struct { int id; - DWORD flag; + uint32_t flag; } static checkBoxToStyleEx[] = { @@ -54,7 +54,7 @@ public: bool OnInitDialog() override { - DWORD exStyle = db_get_dw(0, "CLC", "ExStyle", Clist_GetDefaultExStyle()); + uint32_t exStyle = db_get_dw(0, "CLC", "ExStyle", Clist_GetDefaultExStyle()); for (auto &it : checkBoxToStyleEx) CheckDlgButton(m_hwnd, it.id, (exStyle & it.flag) ? BST_CHECKED : BST_UNCHECKED); @@ -83,7 +83,7 @@ public: bool OnApply() override { - DWORD exStyle = 0; + uint32_t exStyle = 0; for (int i = 0; i < _countof(checkBoxToStyleEx); i++) if (IsDlgButtonChecked(m_hwnd, checkBoxToStyleEx[i].id)) exStyle |= checkBoxToStyleEx[i].flag; -- cgit v1.2.3