summaryrefslogtreecommitdiff
path: root/plugins/StartupSilence
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
commit62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch)
tree1437d0906218fae8827aed384026f2b7e656f4ac /plugins/StartupSilence
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'plugins/StartupSilence')
-rw-r--r--plugins/StartupSilence/src/main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp
index 2b524c864d..e7faaeecee 100644
--- a/plugins/StartupSilence/src/main.cpp
+++ b/plugins/StartupSilence/src/main.cpp
@@ -29,16 +29,16 @@ CMPlugin g_plugin;
HANDLE hTTBarloaded = nullptr;
HANDLE Buttons = nullptr;
-BYTE Enabled;
+uint8_t Enabled;
DWORD delay;
-BYTE PopUp;
+uint8_t PopUp;
DWORD PopUpTime;
-BYTE TTBButtons;
-BYTE DefSound;
-BYTE DefPopup;
-BYTE DefEnabled;
-BYTE NonStatusAllow;
-BYTE timer;
+uint8_t TTBButtons;
+uint8_t DefSound;
+uint8_t DefPopup;
+uint8_t DefEnabled;
+uint8_t NonStatusAllow;
+uint8_t timer;
char hostname[MAX_PATH] = "";
char EnabledComp[MAX_PATH] = "";
char DelayComp[MAX_PATH] = "";
@@ -218,7 +218,7 @@ static INT_PTR StartupSilenceEnabled(WPARAM, LPARAM)
static INT_PTR SilenceConnection(WPARAM wParam, LPARAM)
{
- timer = (BYTE)wParam;
+ timer = (uint8_t)wParam;
return 0;
}