diff options
Diffstat (limited to 'plugins/SeenPlugin')
-rw-r--r-- | plugins/SeenPlugin/src/history.cpp | 2 | ||||
-rw-r--r-- | plugins/SeenPlugin/src/stdafx.h | 4 | ||||
-rw-r--r-- | plugins/SeenPlugin/src/utils.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SeenPlugin/src/history.cpp b/plugins/SeenPlugin/src/history.cpp index 6b88ee8e4a..03ed948e9a 100644 --- a/plugins/SeenPlugin/src/history.cpp +++ b/plugins/SeenPlugin/src/history.cpp @@ -274,7 +274,7 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARA return FALSE;
}
-void ShowHistory(MCONTACT hContact, BYTE isAlert)
+void ShowHistory(MCONTACT hContact, uint8_t isAlert)
{
HWND hHistoryDlg = WindowList_Find(hWindowList, hContact);
if (hHistoryDlg == nullptr) {
diff --git a/plugins/SeenPlugin/src/stdafx.h b/plugins/SeenPlugin/src/stdafx.h index af9f7c8354..5c48418d44 100644 --- a/plugins/SeenPlugin/src/stdafx.h +++ b/plugins/SeenPlugin/src/stdafx.h @@ -101,7 +101,7 @@ struct CMPlugin : public PLUGIN<CMPlugin> typedef struct{
int count;
WPARAM wpcontact[1024];
- BYTE times[1024];
+ uint8_t times[1024];
} MISSEDCONTACTS;
int IsWatchedProtocol(const char* szProto);
@@ -115,7 +115,7 @@ int UpdateValues(WPARAM, LPARAM); int ModeChange(WPARAM,LPARAM);
int ModeChange_mo(WPARAM,LPARAM);
int CheckIfOnline(void);
-void ShowHistory(MCONTACT hContact, BYTE isAlert);
+void ShowHistory(MCONTACT hContact, uint8_t isAlert);
void InitFileOutput(void);
void UninitFileOutput(void);
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index 0114ea022b..53014d3ef1 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -457,7 +457,7 @@ static void waitThread(logthread_info* infoParam) if (infoParam->currStatus != prevStatus) {
g_plugin.setWord(infoParam->hContact, "OldStatus", (WORD)(prevStatus | 0x8000));
if (includeIdle)
- g_plugin.setByte(infoParam->hContact, "OldIdle", (BYTE)((prevStatus & 0x8000) == 0));
+ g_plugin.setByte(infoParam->hContact, "OldIdle", (uint8_t)((prevStatus & 0x8000) == 0));
g_plugin.setWord(infoParam->hContact, "StatusTriger", infoParam->currStatus);
}
@@ -588,7 +588,7 @@ static void cleanThread(logthread_info* infoParam) if (db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE) == ID_STATUS_OFFLINE) {
g_plugin.setWord(hContact, "OldStatus", (WORD)(oldStatus | 0x8000));
if (includeIdle)
- g_plugin.setByte(hContact, "OldIdle", (BYTE)((oldStatus & 0x8000) ? 0 : 1));
+ g_plugin.setByte(hContact, "OldIdle", (uint8_t)((oldStatus & 0x8000) ? 0 : 1));
g_plugin.setWord(hContact, "StatusTriger", ID_STATUS_OFFLINE);
}
}
|