#6037 Remove pointless cast in TCPSocket

This commit is contained in:
Andrew Nelless 2017-05-12 19:50:38 +01:00
parent 58e8e06812
commit c556184114

View File

@ -330,7 +330,7 @@ TCPSocket::doRead()
memset(buffer, 0, sizeof(buffer));
size_t bytesRead = 0;
bytesRead = (int) ARCH->readSocket(m_socket, buffer, sizeof(buffer));
bytesRead = ARCH->readSocket(m_socket, buffer, sizeof(buffer));
if (bytesRead > 0) {
bool wasEmpty = (m_inputBuffer.getSize() == 0);