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/TabSRMM/src/utils.cpp | |
parent | fcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff) |
BYTE -> uint8_t
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp index ee26508526..f9ccd23e20 100644 --- a/plugins/TabSRMM/src/utils.cpp +++ b/plugins/TabSRMM/src/utils.cpp @@ -261,7 +261,7 @@ bool CMsgDialog::FormatTitleBar(const wchar_t *szFormat, CMStringW &dest) case 'x':
{
- BYTE xStatus = m_cache->getXStatusId();
+ uint8_t xStatus = m_cache->getXStatusId();
if (m_wStatus != ID_STATUS_OFFLINE && xStatus > 0 && xStatus <= 31) {
ptrW szXStatus(db_get_wsa(m_hContact, m_szProto, "XStatusName"));
dest.Append((szXStatus != nullptr) ? Trunc500(szXStatus) : xStatusDescr[xStatus - 1]);
@@ -271,7 +271,7 @@ bool CMsgDialog::FormatTitleBar(const wchar_t *szFormat, CMStringW &dest) case 'm':
{
- BYTE xStatus = m_cache->getXStatusId();
+ uint8_t xStatus = m_cache->getXStatusId();
if (m_wStatus != ID_STATUS_OFFLINE && xStatus > 0 && xStatus <= 31) {
ptrW szXStatus(db_get_wsa(m_hContact, m_szProto, "XStatusName"));
dest.Append((szXStatus != nullptr) ? Trunc500(szXStatus) : xStatusDescr[xStatus - 1]);
@@ -477,7 +477,7 @@ struct TOldContainerSettings WORD avatarMode;
WORD ownAvatarMode;
WORD autoCloseSeconds;
- BYTE reserved[10];
+ uint8_t reserved[10];
};
int Utils::ReadContainerSettingsFromDB(const MCONTACT hContact, TContainerSettings *cs, const char *szKey)
|