mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-30 12:02:04 +03:00
#6037 Remove pointless cast in TCPSocket
This commit is contained in:
parent
58e8e06812
commit
c556184114
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user