summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
commit62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch)
tree1437d0906218fae8827aed384026f2b7e656f4ac /protocols/Tox
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_connection.cpp4
-rw-r--r--protocols/Tox/src/tox_proto.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Tox/src/tox_connection.cpp b/protocols/Tox/src/tox_connection.cpp
index 9b7c40f39d..a602bb88a9 100644
--- a/protocols/Tox/src/tox_connection.cpp
+++ b/protocols/Tox/src/tox_connection.cpp
@@ -58,7 +58,7 @@ void CToxProto::CheckConnection()
}
}
-void CToxProto::OnToxCheck(void *arg, BYTE)
+void CToxProto::OnToxCheck(void *arg, uint8_t)
{
CToxProto *proto = (CToxProto*)arg;
if (proto->m_tox == nullptr)
@@ -71,7 +71,7 @@ void CToxProto::OnToxCheck(void *arg, BYTE)
proto->CheckConnection();
}
-void CToxProto::OnToxPoll(void *arg, BYTE)
+void CToxProto::OnToxPoll(void *arg, uint8_t)
{
CToxProto *proto = (CToxProto*)arg;
if (proto->m_tox)
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index e9e858ad7e..8367c8c71f 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -111,8 +111,8 @@ private:
void TryConnect();
void CheckConnection();
- static void __stdcall OnToxCheck(void*, BYTE);
- static void __stdcall OnToxPoll(void*, BYTE);
+ static void __stdcall OnToxCheck(void*, uint8_t);
+ static void __stdcall OnToxPoll(void*, uint8_t);
// accounts
int __cdecl OnAccountRenamed(WPARAM, LPARAM);