summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 20:31:39 +0300
commitcddcd7483a7c472598af098e759e5d309024f606 (patch)
treeb0a227d6e087c41958cc84d27bc323353248aae5 /plugins/TopToolBar/src
parent1039b2829a264280493ba0fa979214fe024dc70c (diff)
DWORD -> uint32_t
Diffstat (limited to 'plugins/TopToolBar/src')
-rw-r--r--plugins/TopToolBar/src/stdafx.h2
-rw-r--r--plugins/TopToolBar/src/toolbar.cpp4
-rw-r--r--plugins/TopToolBar/src/topbutton.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TopToolBar/src/stdafx.h b/plugins/TopToolBar/src/stdafx.h
index 949f641402..8a86393492 100644
--- a/plugins/TopToolBar/src/stdafx.h
+++ b/plugins/TopToolBar/src/stdafx.h
@@ -51,7 +51,7 @@ struct TopButtonInt : public MZeroedObject
{
~TopButtonInt();
- DWORD CheckFlags(DWORD Flags);
+ uint32_t CheckFlags(uint32_t Flags);
void CreateWnd(void);
void LoadSettings(void);
void SaveSettings(int *SepCnt, int *LaunchCnt);
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp
index 777c36c536..884b0b4b0b 100644
--- a/plugins/TopToolBar/src/toolbar.cpp
+++ b/plugins/TopToolBar/src/toolbar.cpp
@@ -433,7 +433,7 @@ INT_PTR TTBSetOptions(WPARAM wParam, LPARAM lParam)
if (b->dwFlags == lParam)
return 0;
- DWORD retval = b->CheckFlags(lParam);
+ uint32_t retval = b->CheckFlags(lParam);
if (retval & TTBBF_PUSHED)
b->SetBitmap();
@@ -455,7 +455,7 @@ INT_PTR TTBSetOptions(WPARAM wParam, LPARAM lParam)
case TTBO_ALLDATA:
if (lParam) {
TTBButton *lpTTB = (TTBButton*)lParam;
- DWORD retval = b->CheckFlags(lpTTB->dwFlags);
+ uint32_t retval = b->CheckFlags(lpTTB->dwFlags);
bool changed = false;
if (b->hIconUp != lpTTB->hIconUp) {
diff --git a/plugins/TopToolBar/src/topbutton.cpp b/plugins/TopToolBar/src/topbutton.cpp
index 50b89aae5a..5fe01c3106 100644
--- a/plugins/TopToolBar/src/topbutton.cpp
+++ b/plugins/TopToolBar/src/topbutton.cpp
@@ -22,7 +22,7 @@ TopButtonInt::~TopButtonInt()
mir_free(ptszTooltipUp);
}
-DWORD TopButtonInt::CheckFlags(DWORD Flags)
+uint32_t TopButtonInt::CheckFlags(uint32_t Flags)
{
int res = 0;
if (BitChanged(TTBBF_DISABLED)) {