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/Tox/src/tox_connection.cpp | 4 ++-- protocols/Tox/src/tox_proto.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Tox') 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); -- cgit v1.2.3