diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 16:39:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 16:39:04 +0300 |
commit | 62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch) | |
tree | 1437d0906218fae8827aed384026f2b7e656f4ac /plugins/NewEventNotify | |
parent | fcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff) |
BYTE -> uint8_t
Diffstat (limited to 'plugins/NewEventNotify')
-rw-r--r-- | plugins/NewEventNotify/src/options.cpp | 10 | ||||
-rw-r--r-- | plugins/NewEventNotify/src/stdafx.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/NewEventNotify/src/options.cpp b/plugins/NewEventNotify/src/options.cpp index 9847c32859..a434392cfe 100644 --- a/plugins/NewEventNotify/src/options.cpp +++ b/plugins/NewEventNotify/src/options.cpp @@ -75,10 +75,10 @@ void CMPlugin::OptionsWrite(void) setDword(OPT_COLTEXT_FILE, colTextFile);
setDword(OPT_COLBACK_OTHERS, colBackOthers);
setDword(OPT_COLTEXT_OTHERS, colTextOthers);
- setByte(OPT_MASKNOTIFY, (BYTE)maskNotify);
- setByte(OPT_MASKACTL, (BYTE)maskActL);
- setByte(OPT_MASKACTR, (BYTE)maskActR);
- setByte(OPT_MASKACTTE, (BYTE)maskActTE);
+ setByte(OPT_MASKNOTIFY, (uint8_t)maskNotify);
+ setByte(OPT_MASKACTL, (uint8_t)maskActL);
+ setByte(OPT_MASKACTR, (uint8_t)maskActR);
+ setByte(OPT_MASKACTTE, (uint8_t)maskActTE);
setByte(OPT_MSGWINDOWCHECK, bMsgWindowCheck);
setByte(OPT_MSGREPLYWINDOW, bMsgReplyWindow);
setByte(OPT_MERGEPOPUP, bMergePopup);
@@ -88,7 +88,7 @@ void CMPlugin::OptionsWrite(void) setByte(OPT_SHOW_DATE, bShowDate);
setByte(OPT_SHOW_TIME, bShowTime);
setByte(OPT_SHOW_HEADERS, bShowHeaders);
- setByte(OPT_NUMBER_MSG, (BYTE)iNumberMsg);
+ setByte(OPT_NUMBER_MSG, (uint8_t)iNumberMsg);
setByte(OPT_SHOW_ON, bShowON);
setByte(OPT_HIDESEND, bHideSend);
setByte(OPT_NORSS, bNoRSS);
diff --git a/plugins/NewEventNotify/src/stdafx.h b/plugins/NewEventNotify/src/stdafx.h index f99ad18aa8..1938092f4c 100644 --- a/plugins/NewEventNotify/src/stdafx.h +++ b/plugins/NewEventNotify/src/stdafx.h @@ -173,7 +173,7 @@ struct CMPlugin : public PLUGIN<CMPlugin> BOOL bHideSend;
BOOL bNoRSS;
BOOL bReadCheck;
- BYTE iNumberMsg;
+ uint8_t iNumberMsg;
};
struct EVENT_DATA_EX
|