#4740 Used safer static cast
This commit is contained in:
parent
71741da721
commit
ceecee0f57
|
@ -161,7 +161,7 @@ ClientListener::handleClientAccepted(const Event&, void* vsocket)
|
||||||
{
|
{
|
||||||
LOG((CLOG_NOTE "accepted client connection"));
|
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
|
// filter socket messages, including a packetizing filter
|
||||||
bool adopt = !m_useSecureNetwork;
|
bool adopt = !m_useSecureNetwork;
|
||||||
|
|
Loading…
Reference in New Issue