Merge branch 'dev' of github.com:xmrig/xmrig into dev

This commit is contained in:
XMRig 2017-08-15 08:20:33 +03:00
commit 2f371e884e
2 changed files with 2 additions and 2 deletions

View file

@ -501,7 +501,7 @@ void Client::onAllocBuffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t
auto client = getClient(handle->data);
buf->base = &client->m_recvBuf.base[client->m_recvBufPos];
buf->len = client->m_recvBuf.len - (ULONG) client->m_recvBufPos;
buf->len = client->m_recvBuf.len - client->m_recvBufPos;
}