#4740 Used safer static cast

This commit is contained in:
Xinyu Hou 2016-09-12 12:11:23 -04:00 committed by Andrew Nelless
parent 71741da721
commit ceecee0f57
1 changed files with 1 additions and 1 deletions

View File

@ -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;