summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/src/frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoShutdown/src/frame.cpp')
-rw-r--r--plugins/AutoShutdown/src/frame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AutoShutdown/src/frame.cpp b/plugins/AutoShutdown/src/frame.cpp
index ccae0afbd2..6ff377a99a 100644
--- a/plugins/AutoShutdown/src/frame.cpp
+++ b/plugins/AutoShutdown/src/frame.cpp
@@ -33,7 +33,7 @@ static HANDLE hHookModulesLoaded;
#define FRAMEELEMENT_BKGRND 2
#define FRAMEELEMENT_TEXT 3
-static COLORREF GetDefaultColor(BYTE id)
+static COLORREF GetDefaultColor(uint8_t id)
{
switch (id) {
case FRAMEELEMENT_BAR:
@@ -84,7 +84,7 @@ struct CountdownFrameWndData
COLORREF clrBackground, clrText;
HFONT hFont;
WORD fTimeFlags;
- BYTE flags;
+ uint8_t flags;
};
/* Flags */