summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar')
-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)) {