summaryrefslogtreecommitdiff
path: root/plugins/BuddyExpectator/src
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/BuddyExpectator/src
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'plugins/BuddyExpectator/src')
-rw-r--r--plugins/BuddyExpectator/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BuddyExpectator/src/options.cpp b/plugins/BuddyExpectator/src/options.cpp
index 467828b600..06e1e9560a 100644
--- a/plugins/BuddyExpectator/src/options.cpp
+++ b/plugins/BuddyExpectator/src/options.cpp
@@ -50,7 +50,7 @@ void LoadOptions()
options.iShowPopup2 = g_plugin.getByte("iShowPopUp2", 1);
options.iShowEvent2 = g_plugin.getByte("iShowEvent2", 0);
- options.action2 = (GoneContactAction)g_plugin.getByte("Action2", (BYTE)GCA_NOACTION);
+ options.action2 = (GoneContactAction)g_plugin.getByte("Action2", (uint8_t)GCA_NOACTION);
options.notifyFirstOnline = g_plugin.getByte("bShowFirstSight", 0) ? true : false;
options.hideInactive = g_plugin.getByte("bHideInactive", 0) ? true : false;
options.enableMissYou = g_plugin.getByte("bMissYouEnabled", 1) ? true : false;
@@ -69,7 +69,7 @@ void SaveOptions()
g_plugin.setByte("iShowPopUp2", options.iShowPopup2);
g_plugin.setByte("iShowEvent2", options.iShowEvent2);
- g_plugin.setByte("Action2", (BYTE)options.action2);
+ g_plugin.setByte("Action2", (uint8_t)options.action2);
g_plugin.setByte("bShowFirstSight", options.notifyFirstOnline ? 1 : 0);
g_plugin.setByte("bHideInactive", options.hideInactive ? 1 : 0);
g_plugin.setByte("bMissYouEnabled", options.enableMissYou ? 1 : 0);