summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify')
-rw-r--r--plugins/NewEventNotify/src/options.cpp10
-rw-r--r--plugins/NewEventNotify/src/stdafx.h2
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