From 62a186697df33c96dc1a6dac0f4dfc38652fb96f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 16:39:04 +0300 Subject: BYTE -> uint8_t --- protocols/Discord/src/proto.h | 8 ++++---- protocols/Discord/src/voice.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Discord/src') diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 8a4301fcad..13c920be77 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -260,10 +260,10 @@ class CDiscordProto : public PROTO CMOption m_wszEmail; // my own email CMOption m_wszDefaultGroup; // clist group to store contacts - CMOption m_bUseGroupchats; // Shall we connect Guilds at all? - CMOption m_bHideGroupchats; // Do not open chat windows on creation - CMOption m_bUseGuildGroups; // use special subgroups for guilds - CMOption m_bSyncDeleteMsgs; // delete messages from Miranda if they are deleted at the server + CMOption m_bUseGroupchats; // Shall we connect Guilds at all? + CMOption m_bHideGroupchats; // Do not open chat windows on creation + CMOption m_bUseGuildGroups; // use special subgroups for guilds + CMOption m_bSyncDeleteMsgs; // delete messages from Miranda if they are deleted at the server ////////////////////////////////////////////////////////////////////////////////////// // common data diff --git a/protocols/Discord/src/voice.cpp b/protocols/Discord/src/voice.cpp index 7422d15aa8..723376091e 100644 --- a/protocols/Discord/src/voice.cpp +++ b/protocols/Discord/src/voice.cpp @@ -42,7 +42,7 @@ void CDiscordProto::OnCommandCallCreated(const JSONNode &pRoot) dbei.timestamp = pCall->startTime; dbei.eventType = EVENT_INCOMING_CALL; dbei.cbBlob = DWORD(mir_strlen(szMessage) + 1); - dbei.pBlob = (BYTE *)szMessage; + dbei.pBlob = (uint8_t *)szMessage; dbei.flags = DBEF_UTF; db_event_add(pUser->hContact, &dbei); } @@ -76,7 +76,7 @@ void CDiscordProto::OnCommandCallDeleted(const JSONNode &pRoot) dbei.timestamp = currTime; dbei.eventType = EVENT_CALL_FINISHED; dbei.cbBlob = DWORD(szMessage.GetLength() + 1); - dbei.pBlob = (BYTE *)szMessage.c_str(); + dbei.pBlob = (uint8_t *)szMessage.c_str(); dbei.flags = DBEF_UTF; db_event_add(pUser->hContact, &dbei); } -- cgit v1.2.3