mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 21:25:55 +08:00
#4740 Used safer static cast
This commit is contained in:
committed by
Andrew Nelless
parent
71741da721
commit
ceecee0f57
@@ -161,7 +161,7 @@ ClientListener::handleClientAccepted(const Event&, void* vsocket)
|
||||
{
|
||||
LOG((CLOG_NOTE "accepted client connection"));
|
||||
|
||||
IDataSocket* socket = reinterpret_cast<IDataSocket*>(vsocket);
|
||||
IDataSocket* socket = static_cast<IDataSocket*>(vsocket);
|
||||
|
||||
// filter socket messages, including a packetizing filter
|
||||
bool adopt = !m_useSecureNetwork;
|
||||
|
||||
Reference in New Issue
Block a user