Fixed cppcheck errors

This commit is contained in:
SChernykh
2024-11-30 10:39:45 +01:00
parent 7b1b526988
commit d7cd9d24fc
12 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -1496,7 +1496,7 @@ bool P2PServer::P2PClient::on_connect()
return send_handshake_challenge();
}
bool P2PServer::P2PClient::on_read(char* data, uint32_t size)
bool P2PServer::P2PClient::on_read(const char* data, uint32_t size)
{
P2PServer* server = static_cast<P2PServer*>(m_owner);
if (!server) {