1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-12 01:42:48 -05:00

Fix Linux build.

This commit is contained in:
XMRig
2017-08-15 03:13:11 +03:00
parent 61859dfe14
commit c40f212e23
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;
}